Adjust CI Jest setup (#7471)
This commit is contained in:
parent
ec8edd4ae3
commit
5e4ed13e31
@ -6,6 +6,7 @@ require('./substrate-connect');
|
||||
|
||||
const nodeCrypto = require('crypto');
|
||||
const { configure } = require('@testing-library/dom');
|
||||
const { fetch } = require('@polkadot/x-fetch/node');
|
||||
|
||||
CSS = {
|
||||
supports () {
|
||||
@ -19,4 +20,6 @@ window.crypto = {
|
||||
}
|
||||
};
|
||||
|
||||
global.fetch = fetch;
|
||||
|
||||
configure({ asyncUtilTimeout: 10000 });
|
||||
|
||||
Loading…
Reference in New Issue
Block a user