mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
chore: fix flaky esm_module_deno_test test (#16419)
This commit is contained in:
parent
9835b095e5
commit
3f22f912ec
2 changed files with 3 additions and 2 deletions
4
cli/tests/testdata/npm/esm/main.js
vendored
4
cli/tests/testdata/npm/esm/main.js
vendored
|
@ -1,6 +1,8 @@
|
|||
import chalk from "npm:chalk@5";
|
||||
|
||||
console.log(chalk.green("chalk esm loads"));
|
||||
if (import.meta.main) {
|
||||
console.log(chalk.green("chalk esm loads"));
|
||||
}
|
||||
|
||||
export function test(value) {
|
||||
return chalk.red(value);
|
||||
|
|
1
cli/tests/testdata/npm/esm/test.out
vendored
1
cli/tests/testdata/npm/esm/test.out
vendored
|
@ -1,7 +1,6 @@
|
|||
Download http://localhost:4545/npm/registry/chalk
|
||||
Download http://localhost:4545/npm/registry/chalk/chalk-5.0.1.tgz
|
||||
Check [WILDCARD]/std/node/module_all.ts
|
||||
chalk esm loads
|
||||
running 1 test from ./npm/esm/test.js
|
||||
test ...
|
||||
------- output -------
|
||||
|
|
Loading…
Reference in a new issue