summaryrefslogtreecommitdiff
path: root/tests/specs/mod.rs
AgeCommit message (Collapse)Author
2024-11-13feat(node): stabilize detecting if CJS via `"type": "commonjs"` in a ↵David Sherret
package.json (#26439) This will respect `"type": "commonjs"` in a package.json to determine if `.js`/`.jsx`/`.ts`/.tsx` files are CJS or ESM. If the file is found to be ESM it will be loaded as ESM though.
2024-09-18feat: default to TS for file extension and support ext flag in more ↵Leo Kettmeir
scenarios (#25472) Closes #11220 Currently does lint, fmt, and repl
2024-08-28test: add supporting for ignoring spec tests (#25242)Bartek Iwańczuk
You can now specify `"ignore": true` for either the whole file, concrete test, or concrete step.
2024-08-20feat(unstable): ability to use a local copy of jsr packages (#25068)David Sherret
2024-06-06chore: support `-- --nocapture` in the spec tests (#24113)David Sherret
2024-06-05fix: better handling of npm resolution occurring on workers (#24094)David Sherret
Closes https://github.com/denoland/deno/issues/24063
2024-05-13chore(task): various small refactorings (#23793)David Sherret
2024-05-03chore(tests/specs): ability to have sub tests in file (#23667)David Sherret
Allows writing named sub-tests. These are: 1. Filterable on the command line via `cargo test ...` 2. Run in parallel 3. Use a fresh temp and deno dir for each test (unlike steps)
2024-04-29chore: migrate bench, publish, and more itests to spec tests (#23584)David Sherret
2024-04-27fix(compile): certain jsr specifiers sometimes can't load (#23567)David Sherret
When returning a jsr specifier for resolve it seems like deno core does not work properly and hangs. Closes https://github.com/denoland/deno/issues/23551 Closes https://github.com/denoland/deno/issues/23139
2024-04-15fix(lsp): improved cjs tracking (#23374)David Sherret
Our cjs tracking was a bit broken. It was marking stuff as esm that was actually cjs leading to type checking errors.
2024-04-12chore(test): use file_test_runner for spec tests (#23348)David Sherret
Extracted out this code to https://github.com/denoland/file_test_runner and added parallelism. This makes these tests run 6 seconds faster on my machine and allows re-using this code in other crates like deno_graph, deno_doc, etc (ex. https://github.com/denoland/deno_graph/pull/437).
2024-04-01chore(specs): add jsr and npm env vars to tests by default (#23171)David Sherret
2024-04-01fix: prevent cache db errors when deno_dir not exists (#23168)David Sherret
Closes #20202
2024-03-25feat(lint): automatically opt-in packages to `jsr` lint tag (#23072)David Sherret
This automatically opts packages (deno.json's with a name, version, and exports field) into the "jsr" lint tag.
2024-03-15chore: move more tests away from itest (#22909)David Sherret
Part of #22907
2024-03-15chore(specs): use jsonc for metadata file (#22946)David Sherret
Avoids the comment diagnostic that vscode gives. Also, automatically renames .json to .jsonc for the time being.
2024-03-15chore(lsp): add tests for compiler options being resolved relative the ↵David Sherret
config file (#22924) Investigation from #17298
2024-03-13chore: improve spec tests output (#22908)David Sherret
2024-03-13chore: rough first pass on spec tests (#22877)David Sherret