summaryrefslogtreecommitdiff
path: root/ext/node/lib.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-08-02 01:17:38 +0200
committerGitHub <noreply@github.com>2023-08-02 01:17:38 +0200
commit21f1b2f62b1fac9089c214d9b862fce2359d30fd (patch)
treec18cc3724c0ed18b5cb62915c0afc1f2e1723cdb /ext/node/lib.rs
parent00b5fe8ba31240f6e6abf668ebda8ed0c40fb524 (diff)
feat(node): add polyfill for node:test module (#20002)
This commit provides basic polyfill for "node:test" module. Currently only top-level "test" function is polyfilled, all remaining functions from that module throw not implemented errors.
Diffstat (limited to 'ext/node/lib.rs')
-rw-r--r--ext/node/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/node/lib.rs b/ext/node/lib.rs
index 318de77e1..ca79c3dce 100644
--- a/ext/node/lib.rs
+++ b/ext/node/lib.rs
@@ -491,6 +491,7 @@ deno_core::extension!(deno_node,
"stream/web.ts" with_specifier "node:stream/web",
"string_decoder.ts" with_specifier "node:string_decoder",
"sys.ts" with_specifier "node:sys",
+ "testing.ts" with_specifier "node:test",
"timers.ts" with_specifier "node:timers",
"timers/promises.ts" with_specifier "node:timers/promises",
"tls.ts" with_specifier "node:tls",