mirror of
https://github.com/denoland/deno.git
synced 2024-11-28 16:20:57 -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
2
cli/tests/testdata/npm/esm/main.js
vendored
2
cli/tests/testdata/npm/esm/main.js
vendored
|
@ -1,6 +1,8 @@
|
||||||
import chalk from "npm:chalk@5";
|
import chalk from "npm:chalk@5";
|
||||||
|
|
||||||
|
if (import.meta.main) {
|
||||||
console.log(chalk.green("chalk esm loads"));
|
console.log(chalk.green("chalk esm loads"));
|
||||||
|
}
|
||||||
|
|
||||||
export function test(value) {
|
export function test(value) {
|
||||||
return chalk.red(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
|
||||||
Download http://localhost:4545/npm/registry/chalk/chalk-5.0.1.tgz
|
Download http://localhost:4545/npm/registry/chalk/chalk-5.0.1.tgz
|
||||||
Check [WILDCARD]/std/node/module_all.ts
|
Check [WILDCARD]/std/node/module_all.ts
|
||||||
chalk esm loads
|
|
||||||
running 1 test from ./npm/esm/test.js
|
running 1 test from ./npm/esm/test.js
|
||||||
test ...
|
test ...
|
||||||
------- output -------
|
------- output -------
|
||||||
|
|
Loading…
Reference in a new issue