summaryrefslogtreecommitdiff
path: root/tests/specs/npm/es_module/__test__.jsonc
blob: 7fd8c95e0587953d3fa6c7b575ce9d94dba7d8f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
  "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
  }]
}