1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00

chore: fix flaky esm_module_deno_test test (#16419)

This commit is contained in:
David Sherret 2022-10-25 13:18:54 -04:00 committed by GitHub
parent 9835b095e5
commit 3f22f912ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -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);

View file

@ -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 -------