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