Skip to content

Commit b9c11ba

Browse files
committed
chore: housekeeping
1 parent a735515 commit b9c11ba

File tree

5 files changed

+86
-338
lines changed

5 files changed

+86
-338
lines changed

package.json

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"build": "rollup -c rollup.config.ts --configPlugin swc3 --bundleConfigAsCjs",
1616
"prepublishOnly": "npm run build",
1717
"pretest": "npm run build",
18-
"test": "mocha -r @swc-node/register 'test/index.ts'",
19-
"test:update": "mocha --update -r @swc-node/register 'test/index.ts'",
18+
"test": "mocha -r @swc-node/register --require mocha-expect-snapshot 'test/index.ts'",
19+
"test:update": "UPDATE_SNAPSHOT=all mocha -r @swc-node/register --require mocha-expect-snapshot 'test/index.ts'",
2020
"prerelease": "pnpm run build && pnpm run lint",
2121
"release": "bumpp -r --all --commit \"release: %s\" --tag \"%s\""
2222
},
@@ -35,30 +35,29 @@
3535
"@babel/core": "^7.27.1",
3636
"@babel/plugin-syntax-jsx": "^7.27.1",
3737
"@babel/plugin-syntax-typescript": "^7.27.1",
38+
"expect": "^29.7.0",
3839
"loader-utils": "^3.3.1"
3940
},
4041
"devDependencies": {
4142
"@eslint-sukka/node": "^6.19.0",
43+
"@jest/expect": "^29.7.0",
4244
"@rspack/core": "^1.3.9",
4345
"@swc-node/register": "^1.10.10",
4446
"@swc/core": "^1.11.24",
4547
"@types/babel__core": "^7.20.5",
46-
"@types/chai": "^4.3.20",
4748
"@types/loader-utils": "^2.0.6",
4849
"@types/mocha": "^10.0.10",
4950
"@types/node": "^22.15.17",
5051
"babel-plugin-react-compiler": "^19.1.0-rc.1",
5152
"browserslist": "^4.24.5",
5253
"bumpp": "^10.1.0",
53-
"chai": "^4.5.0",
5454
"eslint": "^9.26.0",
5555
"eslint-config-sukka": "^6.19.0",
5656
"eslint-formatter-sukka": "^6.19.0",
5757
"memfs": "^5.0.0-next.1",
5858
"mocha": "^11.2.2",
59-
"mocha-chai-jest-snapshot": "^1.1.6",
59+
"mocha-expect-snapshot": "^7.2.0",
6060
"next": "^15.3.2",
61-
"postcss": "^8.5.3",
6261
"rimraf": "^6.0.1",
6362
"rollup": "^4.40.2",
6463
"rollup-plugin-dts": "^6.2.1",
@@ -75,7 +74,6 @@
7574
"neverBuiltDependencies": []
7675
},
7776
"overrides": {
78-
"chai": "$chai",
7977
"hasown": "npm:@nolyfill/hasown@latest"
8078
}
8179
}

0 commit comments

Comments
 (0)