Skip to content

Commit 1b7da98

Browse files
authored
test: bump rstest 0.8.3 (#12959)
* test: bump rstest 0.8.3 * test: fix hideSkippedTests option
1 parent 0f251ee commit 1b7da98

File tree

4 files changed

+139
-12
lines changed

4 files changed

+139
-12
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"@microsoft/api-extractor-model": "7.32.2",
6767
"@rslint/core": "0.2.0",
6868
"@rspack/cli": "workspace:*",
69-
"@rstest/core": "^0.8.2",
69+
"@rstest/core": "^0.8.3",
7070
"@taplo/cli": "^0.7.0",
7171
"@types/is-ci": "^3.0.4",
7272
"@types/node": "^20.19.31",

pnpm-lock.yaml

Lines changed: 135 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/rspack-test/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"@rspack/plugin-preact-refresh": "1.1.5",
2323
"@rspack/plugin-react-refresh": "^1.6.0",
2424
"@rspack/test-tools": "workspace:*",
25-
"@rstest/core": "^0.8.2",
25+
"@rstest/core": "^0.8.3",
2626
"@swc/helpers": "0.5.18",
2727
"@swc/plugin-remove-console": "^12.1.0",
2828
"@types/babel__generator": "7.27.0",

tests/rspack-test/rstest.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ const sharedConfig = defineProject({
6969
externals: [/.*/],
7070
},
7171
passWithNoTests: true,
72+
hideSkippedTests: true,
73+
hideSkippedTestFiles: true,
7274
snapshotFormat: {
7375
escapeString: true,
7476
printBasicPrototype: true
@@ -115,8 +117,6 @@ export default defineConfig({
115117
},
116118
}],
117119
reporters: testFilter ? ['verbose'] : ['default'],
118-
hideSkippedTests: true,
119-
hideSkippedTestFiles: true,
120120
pool: {
121121
maxWorkers: process.env.WASM ? 1 : "80%",
122122
execArgv: ['--no-warnings', '--expose-gc', '--max-old-space-size=8192', '--experimental-vm-modules'],

0 commit comments

Comments
 (0)