mirror of
https://github.com/bitwarden/browser
synced 2025-12-23 19:53:43 +00:00
[EC-648] Fix esm features in node testing environment (#4223)
* Add AST transformer to remove import.meta in tests
This commit is contained in:
@@ -1,7 +1,4 @@
|
||||
// Do not export this here or it will import MultithreadEncryptService (via JslibServicesModule) into test code.
|
||||
// MultithreadEncryptService contains ES2020 features (import.meta) which are not supported in Node and Jest.
|
||||
// Revisit this when Node & Jest get stable support for ESM.
|
||||
// export * from "./core.module";
|
||||
export * from "./core.module";
|
||||
export * from "./event.service";
|
||||
export * from "./policy-list.service";
|
||||
export * from "./router.service";
|
||||
|
||||
Reference in New Issue
Block a user