Some tests left timers running when they ended, and --forceExit hid them; both test scripts drop it. Six background test files left the background's 20-second timer running while an approval was pending; each now stubs it for the whole file. Five popup test files left a flash message's two-second timer running; they now use fake timers, and a wait on real zero-delay timeouts became jest.advanceTimersByTimeAsync(0). Two ethers timers can still run for up to 250 ms after a test ends; they stop before jest checks for open handles. Model: opus-5-5
39 lines
1.1 KiB
JSON
39 lines
1.1 KiB
JSON
{
|
|
"name": "autistmask",
|
|
"version": "0.1.0",
|
|
"description": "Minimal Ethereum wallet browser extension for Chrome and Firefox",
|
|
"author": "sneak <sneak@sneak.berlin>",
|
|
"license": "GPL-3.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"test": "jest --maxWorkers=3",
|
|
"test:verbose": "jest --maxWorkers=3 --verbose",
|
|
"build": "node build.js",
|
|
"lint": "eslint . && prettier --check .",
|
|
"fmt": "prettier --write .",
|
|
"fmt-check": "prettier --check ."
|
|
},
|
|
"jest": {
|
|
"setupFiles": [
|
|
"<rootDir>/tests/support/navigatorLocks.js"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "10.0.1",
|
|
"@tailwindcss/cli": "4.3.1",
|
|
"esbuild": "^0.27.3",
|
|
"eslint": "10.8.1",
|
|
"globals": "17.11.0",
|
|
"jest": "^30.2.0",
|
|
"playwright-core": "1.56.0",
|
|
"prettier": "^3.8.1",
|
|
"tailwindcss": "4.3.1"
|
|
},
|
|
"dependencies": {
|
|
"ethereum-blockies-base64": "^1.0.2",
|
|
"ethers": "^6.16.0",
|
|
"libsodium-wrappers-sumo": "^0.8.2",
|
|
"qrcode": "^1.5.4"
|
|
}
|
|
}
|