diff options
Diffstat (limited to 'cli/tests/testdata')
-rw-r--r-- | cli/tests/testdata/compile/npm_fs/main.ts | 2 | ||||
-rw-r--r-- | cli/tests/testdata/npm/registry/@denotest/esm-basic/1.0.0/other.mjs | 3 | ||||
-rw-r--r-- | cli/tests/testdata/package_json/basic/main.info.out | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/cli/tests/testdata/compile/npm_fs/main.ts b/cli/tests/testdata/compile/npm_fs/main.ts index f9951d7a4..6361610a9 100644 --- a/cli/tests/testdata/compile/npm_fs/main.ts +++ b/cli/tests/testdata/compile/npm_fs/main.ts @@ -154,7 +154,7 @@ await assert.rejects( } // read dir -const readDirNames = ["main.d.mts", "main.mjs", "package.json"]; +const readDirNames = ["main.d.mts", "main.mjs", "other.mjs", "package.json"]; { const names = Array.from(Deno.readDirSync(dirPath)) .map((e) => e.name); diff --git a/cli/tests/testdata/npm/registry/@denotest/esm-basic/1.0.0/other.mjs b/cli/tests/testdata/npm/registry/@denotest/esm-basic/1.0.0/other.mjs new file mode 100644 index 000000000..00ed99da4 --- /dev/null +++ b/cli/tests/testdata/npm/registry/@denotest/esm-basic/1.0.0/other.mjs @@ -0,0 +1,3 @@ +export function hello() { + return "hello, world!"; +}
\ No newline at end of file diff --git a/cli/tests/testdata/package_json/basic/main.info.out b/cli/tests/testdata/package_json/basic/main.info.out index b283a0ee0..892c0612a 100644 --- a/cli/tests/testdata/package_json/basic/main.info.out +++ b/cli/tests/testdata/package_json/basic/main.info.out @@ -5,4 +5,4 @@ size: [WILDCARD] file:///[WILDCARD]/main.ts (63B) └─┬ file:///[WILDCARD]/lib.ts (166B) - └── npm:/@denotest/esm-basic@1.0.0 (416B) + └── npm:/@denotest/esm-basic@1.0.0 (471B) |