diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-08-02 01:17:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-02 01:17:38 +0200 |
commit | 21f1b2f62b1fac9089c214d9b862fce2359d30fd (patch) | |
tree | c18cc3724c0ed18b5cb62915c0afc1f2e1723cdb /ext/node/polyfill.rs | |
parent | 00b5fe8ba31240f6e6abf668ebda8ed0c40fb524 (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/polyfill.rs')
-rw-r--r-- | ext/node/polyfill.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/node/polyfill.rs b/ext/node/polyfill.rs index 16ffe185d..fede915a2 100644 --- a/ext/node/polyfill.rs +++ b/ext/node/polyfill.rs @@ -62,6 +62,7 @@ generate_builtin_node_module_lists! { "stream/web", "string_decoder", "sys", + "test", "timers", "timers/promises", "tls", |