mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-02-20 00:33:07 +01:00
fix(tests): maxlistenerwarning in unit tests
This commit is contained in:
committed by
Tomáš Martykán
parent
19cb478e7a
commit
60342ebade
@@ -13,6 +13,11 @@ class CustomEnvironment extends NodeEnvironment {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
async teardown() {
|
||||
process.removeAllListeners('warning');
|
||||
await super.teardown();
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = CustomEnvironment;
|
||||
|
||||
Reference in New Issue
Block a user