Re-add Jest, revert ava (#1779)

* Re-add Jest (env node)

* Revert "Switch to ava as a test runner (#1778)"

This reverts commit 5aa2b3c096.
This commit is contained in:
Jaco
2022-07-08 13:17:48 +02:00
committed by GitHub
parent ce0c54e9ba
commit eaf3121696
11 changed files with 257 additions and 1067 deletions
+10
View File
@@ -0,0 +1,10 @@
// Copyright 2020-2022 @polkadot/phishing authors & contributors
// SPDX-License-Identifier: Apache-2.0
const config = require('@polkadot/dev/config/jest.cjs');
module.exports = {
...config,
moduleNameMapper: {},
testTimeout: 2 * 60 * 1000
};