Jest config cleanup (#1100)

This commit is contained in:
Jaco
2021-09-01 18:39:13 +02:00
committed by GitHub
parent f0b984f141
commit 7d167bcd4c
3 changed files with 379 additions and 392 deletions
+1 -17
View File
@@ -16,21 +16,5 @@ module.exports = Object.assign({}, config, {
'@polkadot/x-(fetch|randomvalues|textdecoder|textencoder|ws)(.*)$': '<rootDir>/packages/x-$1/src/node',
'@polkadot/x-global(.*)$': '<rootDir>/packages/x-global/src/$1',
'@polkadot/x-rxjs(.*)$': '<rootDir>/packages/x-rxjs/src/$1'
},
modulePathIgnorePatterns: [
'<rootDir>/packages/hw-ledger/build',
'<rootDir>/packages/hw-ledger-transports/build',
'<rootDir>/packages/keyring/build',
'<rootDir>/packages/networks/build',
'<rootDir>/packages/util/build',
'<rootDir>/packages/util-crypto/build',
'<rootDir>/packages/x-fetch/build',
'<rootDir>/packages/x-global/build',
'<rootDir>/packages/x-randomvalues/build',
'<rootDir>/packages/x-rxjs/build',
'<rootDir>/packages/x-textdecoder/build',
'<rootDir>/packages/x-textencoder/build',
'<rootDir>/packages/x-ws/build'
],
transformIgnorePatterns: ['/node_modules/(?!@polkadot)']
}
});
+1 -1
View File
@@ -24,7 +24,7 @@
},
"devDependencies": {
"@babel/core": "^7.15.0",
"@polkadot/dev": "^0.62.62",
"@polkadot/dev": "^0.62.64",
"@polkadot/ts": "^0.4.6",
"@types/ed2curve": "^0.2.2",
"@types/jest": "^27.0.1"
+377 -374
View File
File diff suppressed because it is too large Load Diff