diff options
Diffstat (limited to 'tests/testdata/npm/cjs_require_esm_mjs')
-rw-r--r-- | tests/testdata/npm/cjs_require_esm_mjs/main.out | 4 | ||||
-rw-r--r-- | tests/testdata/npm/cjs_require_esm_mjs/main.ts | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/testdata/npm/cjs_require_esm_mjs/main.out b/tests/testdata/npm/cjs_require_esm_mjs/main.out new file mode 100644 index 000000000..4afceccc9 --- /dev/null +++ b/tests/testdata/npm/cjs_require_esm_mjs/main.out @@ -0,0 +1,4 @@ +[Module: null prototype] { + Test: [Module: null prototype] { Test: [class Test] }, + default: { Test: [Module: null prototype] { Test: [class Test] } } +} diff --git a/tests/testdata/npm/cjs_require_esm_mjs/main.ts b/tests/testdata/npm/cjs_require_esm_mjs/main.ts new file mode 100644 index 000000000..d753c2a83 --- /dev/null +++ b/tests/testdata/npm/cjs_require_esm_mjs/main.ts @@ -0,0 +1,2 @@ +import * as ns from "npm:@denotest/cjs-require-esm/require_mjs.js"; +console.log(ns); |