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