mirror of
https://github.com/pezkuwichain/phishing.git
synced 2026-04-22 07:57:58 +00:00
Switch to ava as a test runner (#1778)
* 0.17.1 * ava conversion * ava for all * Remove unneeded * Remove Jest config * Pacify package.json checker
This commit is contained in:
+15
-4
@@ -23,10 +23,11 @@
|
||||
"clean": "polkadot-dev-clean-build",
|
||||
"deno": "yarn polkadot-dev-deno-map && yarn build && deno check --import-map=import_map.json mod.ts",
|
||||
"lint": "polkadot-dev-run-lint",
|
||||
"phishing:addrcheck": "polkadot-dev-run-test --runInBand --detectOpenHandles packages/phishing/src/addrcheck",
|
||||
"phishing:crosscheck": "polkadot-dev-run-test --runInBand --detectOpenHandles packages/phishing/src/crosscheck",
|
||||
"phishing:addrcheck": "ava packages/phishing/src/addrcheck.spec.ts",
|
||||
"phishing:crosscheck": "ava packages/phishing/src/crosscheck.spec.ts",
|
||||
"postinstall": "polkadot-dev-yarn-only",
|
||||
"test": "polkadot-dev-run-test --coverage --runInBand --detectOpenHandles --testPathIgnorePatterns addrcheck --testPathIgnorePatterns crosscheck"
|
||||
"test": "ava --match '!CI*'",
|
||||
"test:one": "yarn test"
|
||||
},
|
||||
"dependencies": {
|
||||
"@pinata/sdk": "^1.1.26",
|
||||
@@ -35,9 +36,19 @@
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.18.6",
|
||||
"@polkadot/dev": "^0.67.63",
|
||||
"@types/jest": "^28.1.4"
|
||||
"ava": "^4.3.0",
|
||||
"ts-node": "^10.8.2"
|
||||
},
|
||||
"resolutions": {
|
||||
"typescript": "^4.7.4"
|
||||
},
|
||||
"ava": {
|
||||
"extensions": {
|
||||
"ts": "module"
|
||||
},
|
||||
"nodeArguments": [
|
||||
"--loader=ts-node/esm",
|
||||
"--experimental-specifier-resolution=node"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user