mirror of
https://github.com/pezkuwichain/phishing.git
synced 2026-04-29 05:38:06 +00:00
+2
-1
@@ -6,7 +6,8 @@ const base = require('@polkadot/dev/config/eslint.cjs');
|
||||
module.exports = {
|
||||
...base,
|
||||
ignorePatterns: [
|
||||
...base.ignorePatterns
|
||||
...base.ignorePatterns,
|
||||
'jest/**/*'
|
||||
],
|
||||
parserOptions: {
|
||||
...base.parserOptions,
|
||||
|
||||
@@ -6,6 +6,7 @@ const config = require('@polkadot/dev/config/jest.cjs');
|
||||
module.exports = {
|
||||
...config,
|
||||
moduleNameMapper: {},
|
||||
setupFilesAfterEnv: ['<rootDir>/jest/setupEnv.cjs'],
|
||||
testEnvironment: 'jsdom',
|
||||
testTimeout: 2 * 60 * 1000
|
||||
};
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
// Copyright 2017-2022 @polkadot/apps authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
const { fetch } = require('@polkadot/x-fetch/node');
|
||||
|
||||
global.fetch = fetch;
|
||||
+3
-3
@@ -28,15 +28,15 @@
|
||||
"test": "polkadot-dev-run-test --coverage --runInBand --detectOpenHandles --testPathIgnorePatterns addrcheck --testPathIgnorePatterns crosscheck"
|
||||
},
|
||||
"dependencies": {
|
||||
"@pinata/sdk": "^1.1.24",
|
||||
"@pinata/sdk": "^1.1.25",
|
||||
"dnslink-cloudflare": "^3.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.17.9",
|
||||
"@polkadot/dev": "^0.66.9",
|
||||
"@polkadot/dev": "^0.66.15",
|
||||
"@types/jest": "^27.4.1"
|
||||
},
|
||||
"resolutions": {
|
||||
"typescript": "^4.6.3"
|
||||
"typescript": "^4.6.4"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user