diff options
| author | David Sherret <dsherret@users.noreply.github.com> | 2024-03-13 12:21:13 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-13 16:21:13 +0000 |
| commit | b3ca3b2f25931afb350027bde87dc3d4f9a741b0 (patch) | |
| tree | e8d4f1211310e4998cd21882b96d0a799a83de87 /tests/specs/npm/es_module/__test__.json | |
| parent | eccdb0e99acd66cce38fc8535aeab221a8a6fffa (diff) | |
chore: rough first pass on spec tests (#22877)
Diffstat (limited to 'tests/specs/npm/es_module/__test__.json')
| -rw-r--r-- | tests/specs/npm/es_module/__test__.json | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/specs/npm/es_module/__test__.json b/tests/specs/npm/es_module/__test__.json new file mode 100644 index 000000000..f720a2bc0 --- /dev/null +++ b/tests/specs/npm/es_module/__test__.json @@ -0,0 +1,22 @@ +{ + "base": "npm", + "steps": [{ + "args": "run --allow-read --allow-env main.js", + "output": "main.out" + }, { + "cleanDenoDir": true, + "args": "test --allow-read --allow-env test.js", + "output": "test.out" + }, { + "cleanDenoDir": true, + "args": [ + "eval", + "import chalk from 'npm:chalk@5'; console.log(chalk.green('chalk esm loads'));" + ], + "output": "main.out" + }, { + "args": "bundle --quiet main.js", + "output": "bundle.out", + "exitCode": 1 + }] +} |
