diff options
Diffstat (limited to 'cli/tests/testdata')
| -rw-r--r-- | cli/tests/testdata/subdir/json_3.json | 1 | ||||
| -rw-r--r-- | cli/tests/testdata/subdir/mod7.js | 3 | ||||
| -rw-r--r-- | cli/tests/testdata/subdir/mod8.js | 3 |
3 files changed, 7 insertions, 0 deletions
diff --git a/cli/tests/testdata/subdir/json_3.json b/cli/tests/testdata/subdir/json_3.json new file mode 100644 index 000000000..b20bc0649 --- /dev/null +++ b/cli/tests/testdata/subdir/json_3.json @@ -0,0 +1 @@ +"${globalThis}`and string literal`" diff --git a/cli/tests/testdata/subdir/mod7.js b/cli/tests/testdata/subdir/mod7.js new file mode 100644 index 000000000..2bd4b5eb7 --- /dev/null +++ b/cli/tests/testdata/subdir/mod7.js @@ -0,0 +1,3 @@ +import json1 from "./json_1.json" assert { type: "json" }; + +console.log(json1); diff --git a/cli/tests/testdata/subdir/mod8.js b/cli/tests/testdata/subdir/mod8.js new file mode 100644 index 000000000..5bf7a49a8 --- /dev/null +++ b/cli/tests/testdata/subdir/mod8.js @@ -0,0 +1,3 @@ +import json3 from "./json_3.json" assert { type: "json" }; + +console.log(json3); |
