1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-28 01:59:06 -05:00
denoland-deno/tests/specs/npm/es_module/__test__.jsonc
David Sherret 3e98ea4e69
chore(tests/specs): ability to have sub tests in file (#23667)
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-05-03 10:19:42 +05:30

24 lines
514 B
Text

{
"tests": {
"run": {
"args": "run --allow-read --allow-env main.js",
"output": "main.out"
},
"test": {
"args": "test --allow-read --allow-env test.js",
"output": "test.out"
},
"eval": {
"args": [
"eval",
"import chalk from 'npm:chalk@5'; console.log(chalk.green('chalk esm loads'));"
],
"output": "main.out"
},
"bundle": {
"args": "bundle --quiet main.js",
"output": "bundle.out",
"exitCode": 1
}
}
}