Skip to content

Commit c19b35e

Browse files
committed
build(deps-dev): bump the vitest group from 0.34.6 to 1.0.0-beta.3
- resolves #188 - bumps test environment dependencies - updates `vitest-env.d.ts` Signed-off-by: Lexus Drumgold <[email protected]>
1 parent 1baaced commit c19b35e

File tree

12 files changed

+223
-251
lines changed

12 files changed

+223
-251
lines changed

.github/workflows/ci.yml

-6
Original file line numberDiff line numberDiff line change
@@ -307,12 +307,6 @@ jobs:
307307
uses: andstor/[email protected]
308308
with:
309309
files: '**/__tests__/*.spec.+(ts|tsx)'
310-
- id: yarn-ignore-node
311-
if: |
312-
steps.test-files-check.outputs.files_exists == 'true'
313-
&& startsWith(matrix.node-version, '16')
314-
name: Set env.YARN_IGNORE_NODE
315-
run: echo "YARN_IGNORE_NODE=1" >>$GITHUB_ENV
316310
- id: node
317311
if: steps.test-files-check.outputs.files_exists == 'true'
318312
name: Setup Node.js v${{ matrix.node-version }}

.lintstagedrc.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"**/*.{cjs,cts,gql,js,json,json5,jsonc,jsx,md,mjs,mts,ts,tsx,yaml,yml}": [
44
"eslint --exit-on-fatal-error"
55
],
6-
"**/*.{cts,mts,ts}": "vitest typecheck --changed --run",
6+
"**/*.{cts,mts,ts}": "vitest run --changed --typecheck",
77
"**/yarn.lock": "yarn dedupe --check",
88
"src/**/*.ts": [
9-
"vitest --changed --coverage --run",
9+
"vitest run --changed --coverage",
1010
"yarn build",
1111
"bash -c tsc -p tsconfig.build.json"
1212
]

package.json

+12-12
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@
9090
"test:cov:serve": "vite preview --outDir ./coverage",
9191
"test:cov:upload": "./codecov -t $CODECOV_TOKEN -f ./coverage/lcov.info",
9292
"test:watch": "vitest",
93-
"typecheck": "vitest typecheck --run",
94-
"typecheck:watch": "vitest typecheck"
93+
"typecheck": "yarn test --typecheck",
94+
"typecheck:watch": "vitest --typecheck"
9595
},
9696
"dependencies": {
9797
"@flex-development/aggregate-error-ponyfill": "3.1.1",
@@ -131,18 +131,18 @@
131131
"@flex-development/tsconfig-utils": "2.0.2",
132132
"@nestjs/core": "10.2.7",
133133
"@nestjs/testing": "10.2.7",
134-
"@types/chai": "4.3.6",
135-
"@types/chai-string": "1.4.3",
134+
"@types/chai": "4.3.9",
135+
"@types/chai-string": "1.4.4",
136136
"@types/envinfo": "7.8.1",
137137
"@types/eslint": "8.44.2",
138-
"@types/is-ci": "3.0.0",
139-
"@types/node-notifier": "8.0.2",
138+
"@types/is-ci": "3.0.3",
139+
"@types/node-notifier": "8.0.4",
140140
"@types/prettier": "3.0.0",
141141
"@typescript-eslint/eslint-plugin": "6.9.1",
142142
"@typescript-eslint/parser": "6.9.1",
143143
"@vates/toggle-scripts": "1.0.0",
144-
"@vitest/coverage-v8": "0.34.6",
145-
"@vitest/expect": "0.34.6",
144+
"@vitest/coverage-v8": "1.0.0-beta.3",
145+
"@vitest/expect": "1.0.0-beta.3",
146146
"chai": "5.0.0-alpha.2",
147147
"chai-each": "0.0.1",
148148
"chai-string": "1.5.0",
@@ -172,20 +172,20 @@
172172
"node-notifier": "10.0.1",
173173
"pkg-size": "2.4.0",
174174
"prettier": "3.0.3",
175-
"pretty-format": "29.7.0",
176175
"sh-syntax": "0.4.1",
177176
"tempfile": "5.0.0",
178177
"trash-cli": "5.0.0",
179178
"ts-dedent": "2.2.0",
180179
"typescript": "5.2.2",
181-
"vite": "5.0.0-beta.11",
180+
"vite": "5.0.0-beta.16",
182181
"vite-tsconfig-paths": "4.2.1",
183-
"vitest": "0.34.6",
182+
"vitest": "1.0.0-beta.3",
184183
"yaml-eslint-parser": "1.2.2"
185184
},
186185
"resolutions": {
187186
"@flex-development/nest-commander@npm:1.0.0-alpha.1": "patch:@flex-development/nest-commander@npm%3A1.0.0-alpha.1#patches/@flex-development/nest-commander+1.0.0-alpha.1.dev.patch",
188-
"chai": "5.0.0-alpha.2"
187+
"chai": "5.0.0-alpha.2",
188+
"loupe": "3.0.1"
189189
},
190190
"engines": {
191191
"node": ">=18.18.2 <20.6.0 || >20.6.0"

src/subdomains/changelog/models/__snapshots__/changelog-formatter.model.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ exports[`unit:changelog/models/ChangelogFormatter > #formatEntry > first entry >
1616
### :pencil: Documentation
1717
1818
- [[\`857f9b0\`](https://github.com/flex-development/grease/commit/857f9b01333fe9b5c8d5a7b69bb4a4d6f50fd9c5)] code reviews
19-
- [[\`a8fff2f\`](https://github.com/flex-development/grease/commit/a8fff2f748de5773d2eeb43ebef8fcb2b2804b0e)] fix link to \\"Generating Release Notes\\" section
19+
- [[\`a8fff2f\`](https://github.com/flex-development/grease/commit/a8fff2f748de5773d2eeb43ebef8fcb2b2804b0e)] fix link to "Generating Release Notes" section
2020
- [[\`e74300f\`](https://github.com/flex-development/grease/commit/e74300f0bc933b992170a044390ca337497aecf5)] releasing
2121
- [[\`fa65fde\`](https://github.com/flex-development/grease/commit/fa65fde247ee9e709e2da7a42a59e6ef0fa1a690)] update \`Getting Started\` section in \`README\`
2222
- [[\`b0ad929\`](https://github.com/flex-development/grease/commit/b0ad929ece55c29d6b33521c39c0ecdb0a00f8b6)] update contributing guide

src/subdomains/changelog/models/__snapshots__/changelog-infile.model.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ exports[`unit:changelog/models/ChangelogInfile > #toString > should return infil
4747
### :pencil: Documentation
4848
4949
- [[\`857f9b0\`](https://github.com/flex-development/grease/commit/857f9b01333fe9b5c8d5a7b69bb4a4d6f50fd9c5)] code reviews
50-
- [[\`a8fff2f\`](https://github.com/flex-development/grease/commit/a8fff2f748de5773d2eeb43ebef8fcb2b2804b0e)] fix link to \\\\\\\\\\"Generating Release Notes\\\\\\\\\\" section
50+
- [[\`a8fff2f\`](https://github.com/flex-development/grease/commit/a8fff2f748de5773d2eeb43ebef8fcb2b2804b0e)] fix link to \\\\"Generating Release Notes\\\\" section
5151
- [[\`e74300f\`](https://github.com/flex-development/grease/commit/e74300f0bc933b992170a044390ca337497aecf5)] releasing
5252
- [[\`fa65fde\`](https://github.com/flex-development/grease/commit/fa65fde247ee9e709e2da7a42a59e6ef0fa1a690)] update \`Getting Started\` section in \`README\`
5353
- [[\`b0ad929\`](https://github.com/flex-development/grease/commit/b0ad929ece55c29d6b33521c39c0ecdb0a00f8b6)] update contributing guide

src/subdomains/changelog/models/__snapshots__/changelog-stream.model.functional.snap

+2-2
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ exports[`functional:changelog/models/ChangelogStream > #print > should write cha
202202
### :pencil: Documentation
203203
204204
- [[\`ce90c3d\`](https://github.com/flex-development/grease/commit/ce90c3d12ff403121292c79b118afd9d3158b2ac)] fix typo in contributing guide
205-
- [[\`90e1254\`](https://github.com/flex-development/grease/commit/90e1254eac0bcef84fcad65821458d346fda7478)] **node:** add \\"Prereleases\\" section to usage guide
205+
- [[\`90e1254\`](https://github.com/flex-development/grease/commit/90e1254eac0bcef84fcad65821458d346fda7478)] **node:** add "Prereleases" section to usage guide
206206
207207
### :sparkles: Features
208208
@@ -278,7 +278,7 @@ exports[`functional:changelog/models/ChangelogStream > constructor > should add
278278
### :pencil: Documentation
279279
280280
- [[\`857f9b0\`](https://github.com/flex-development/grease/commit/857f9b01333fe9b5c8d5a7b69bb4a4d6f50fd9c5)] code reviews
281-
- [[\`a8fff2f\`](https://github.com/flex-development/grease/commit/a8fff2f748de5773d2eeb43ebef8fcb2b2804b0e)] fix link to \\\\\\\\\\"Generating Release Notes\\\\\\\\\\" section
281+
- [[\`a8fff2f\`](https://github.com/flex-development/grease/commit/a8fff2f748de5773d2eeb43ebef8fcb2b2804b0e)] fix link to \\\\"Generating Release Notes\\\\" section
282282
- [[\`e74300f\`](https://github.com/flex-development/grease/commit/e74300f0bc933b992170a044390ca337497aecf5)] releasing
283283
- [[\`fa65fde\`](https://github.com/flex-development/grease/commit/fa65fde247ee9e709e2da7a42a59e6ef0fa1a690)] update \`Getting Started\` section in \`README\`
284284
- [[\`b0ad929\`](https://github.com/flex-development/grease/commit/b0ad929ece55c29d6b33521c39c0ecdb0a00f8b6)] update contributing guide

src/subdomains/changelog/queries/__snapshots__/changelog.handler.snap

+6-6
Original file line numberDiff line numberDiff line change
@@ -4783,7 +4783,7 @@ exports[`unit:changelog/queries/ChangelogQueryHandler > #execute > should return
47834783
"email": "[email protected]",
47844784
"name": "Lexus Drumgold",
47854785
},
4786-
"body": "- https://github.com/actions/github-script/issues/56\\\\#issuecomment-642188313",
4786+
"body": "- https://github.com/actions/github-script/issues/56\\#issuecomment-642188313",
47874787
"breaking": false,
47884788
"breaks": [],
47894789
"date": "2021-08-24T16:00:44-04:00",
@@ -4900,12 +4900,12 @@ exports[`unit:changelog/queries/ChangelogQueryHandler > #execute > should return
49004900
"breaks": [],
49014901
"date": "2021-08-26T18:40:47-04:00",
49024902
"hash": "90e1254",
4903-
"header": "docs(node): add \\"Prereleases\\" section to usage guide",
4903+
"header": "docs(node): add "Prereleases" section to usage guide",
49044904
"mentions": [],
49054905
"references": [],
49064906
"scope": "node",
49074907
"sha": "90e1254eac0bcef84fcad65821458d346fda7478",
4908-
"subject": "add \\"Prereleases\\" section to usage guide",
4908+
"subject": "add "Prereleases" section to usage guide",
49094909
"tags": [],
49104910
"trailers": [],
49114911
"type": "docs",
@@ -5933,12 +5933,12 @@ exports[`unit:changelog/queries/ChangelogQueryHandler > #execute > should return
59335933
"breaks": [],
59345934
"date": "2021-08-15T00:09:53-04:00",
59355935
"hash": "a8fff2f",
5936-
"header": "docs: fix link to \\"Generating Release Notes\\" section",
5936+
"header": "docs: fix link to "Generating Release Notes" section",
59375937
"mentions": [],
59385938
"references": [],
59395939
"scope": null,
59405940
"sha": "a8fff2f748de5773d2eeb43ebef8fcb2b2804b0e",
5941-
"subject": "fix link to \\"Generating Release Notes\\" section",
5941+
"subject": "fix link to "Generating Release Notes" section",
59425942
"tags": [],
59435943
"trailers": [],
59445944
"type": "docs",
@@ -6063,7 +6063,7 @@ exports[`unit:changelog/queries/ChangelogQueryHandler > #execute > should return
60636063
},
60646064
"body": "- \`standard-version\` provides incorrect type defs; does not use \`noVerify\`
60656065
6066-
- https://github.com/conventional-changelog/standard-version/tree/v9.3.1\\\\#code-usage",
6066+
- https://github.com/conventional-changelog/standard-version/tree/v9.3.1\\#code-usage",
60676067
"breaking": false,
60686068
"breaks": [],
60696069
"date": "2021-08-14T11:25:10-04:00",

src/subdomains/log/reporters/__snapshots__/fancy.reporter.functional.snap

+34-34
Original file line numberDiff line numberDiff line change
@@ -11,33 +11,33 @@ exports[`functional:log/reporters/FancyReporter > #write > LogType.ERROR > shoul
1111
[grease:bump]  ERROR  Invalid Version: 3.0
1212
1313
at src/subdomains/log/reporters/__tests__/fancy.reporter.functional.spec.ts:34:18
14-
[90mat[39m file://node_modules/@vitest/runner/dist/index.js:361:43
15-
[90mat[39m runWithSuite ([36mnode_modules/@vitest/runner/dist/index.js:50:9[39m)
16-
[90mat[39m Object.collect ([36mnode_modules/@vitest/runner/dist/index.js:361:13[39m)
17-
[90mat[39m Object.collect ([36mnode_modules/@vitest/runner/dist/index.js:364:57[39m)
18-
[90mat[39m Object.collect ([36mnode_modules/@vitest/runner/dist/index.js:364:49[39m)
19-
[90mat[39m collectTests ([36mnode_modules/@vitest/runner/dist/index.js:512:28[39m)
20-
[90mat[39m startTests ([36mnode_modules/@vitest/runner/dist/index.js:840:17[39m)
21-
[90mat[39m file://node_modules/vitest/dist/entry.js:103:7
22-
[90mat[39m withEnv ([36mnode_modules/vitest/dist/entry.js:73:5[39m)
14+
[90mat[39m file://node_modules/@vitest/runner/dist/index.js:362:43
15+
[90mat[39m runWithSuite ([36mnode_modules/@vitest/runner/dist/index.js:51:9[39m)
16+
[90mat[39m Object.collect ([36mnode_modules/@vitest/runner/dist/index.js:362:13[39m)
17+
[90mat[39m Object.collect ([36mnode_modules/@vitest/runner/dist/index.js:365:57[39m)
18+
[90mat[39m Object.collect ([36mnode_modules/@vitest/runner/dist/index.js:365:49[39m)
19+
[90mat[39m collectTests ([36mnode_modules/@vitest/runner/dist/index.js:516:28[39m)
20+
[90mat[39m startTests ([36mnode_modules/@vitest/runner/dist/index.js:830:17[39m)
21+
[90mat[39m file://node_modules/vitest/dist/entry.js:112:7
22+
[90mat[39m withEnv ([36mnode_modules/vitest/dist/entry.js:79:5[39m)
2323
2424
"
2525
`;
2626

2727
exports[`functional:log/reporters/FancyReporter > #write > LogType.FAIL > should write log 1`] = `
2828
"
29-
[90m[grease:config][39m [31m✖[39m Could not resolve \\"logger\\"
29+
[90m[grease:config][39m [31m✖[39m Could not resolve "logger"
3030
3131
at src/subdomains/log/reporters/__tests__/fancy.reporter.functional.spec.ts:38:18
32-
[90mat[39m file://node_modules/@vitest/runner/dist/index.js:361:43
33-
[90mat[39m runWithSuite ([36mnode_modules/@vitest/runner/dist/index.js:50:9[39m)
34-
[90mat[39m Object.collect ([36mnode_modules/@vitest/runner/dist/index.js:361:13[39m)
35-
[90mat[39m Object.collect ([36mnode_modules/@vitest/runner/dist/index.js:364:57[39m)
36-
[90mat[39m Object.collect ([36mnode_modules/@vitest/runner/dist/index.js:364:49[39m)
37-
[90mat[39m collectTests ([36mnode_modules/@vitest/runner/dist/index.js:512:28[39m)
38-
[90mat[39m startTests ([36mnode_modules/@vitest/runner/dist/index.js:840:17[39m)
39-
[90mat[39m file://node_modules/vitest/dist/entry.js:103:7
40-
[90mat[39m withEnv ([36mnode_modules/vitest/dist/entry.js:73:5[39m)
32+
[90mat[39m file://node_modules/@vitest/runner/dist/index.js:362:43
33+
[90mat[39m runWithSuite ([36mnode_modules/@vitest/runner/dist/index.js:51:9[39m)
34+
[90mat[39m Object.collect ([36mnode_modules/@vitest/runner/dist/index.js:362:13[39m)
35+
[90mat[39m Object.collect ([36mnode_modules/@vitest/runner/dist/index.js:365:57[39m)
36+
[90mat[39m Object.collect ([36mnode_modules/@vitest/runner/dist/index.js:365:49[39m)
37+
[90mat[39m collectTests ([36mnode_modules/@vitest/runner/dist/index.js:516:28[39m)
38+
[90mat[39m startTests ([36mnode_modules/@vitest/runner/dist/index.js:830:17[39m)
39+
[90mat[39m file://node_modules/vitest/dist/entry.js:112:7
40+
[90mat[39m withEnv ([36mnode_modules/vitest/dist/entry.js:79:5[39m)
4141
4242
"
4343
`;
@@ -47,15 +47,15 @@ exports[`functional:log/reporters/FancyReporter > #write > LogType.FATAL > shoul
4747
[grease:git]  FATAL  not a git repository
4848
4949
at src/subdomains/log/reporters/__tests__/fancy.reporter.functional.spec.ts:42:18
50-
[90mat[39m file://node_modules/@vitest/runner/dist/index.js:361:43
51-
[90mat[39m runWithSuite ([36mnode_modules/@vitest/runner/dist/index.js:50:9[39m)
52-
[90mat[39m Object.collect ([36mnode_modules/@vitest/runner/dist/index.js:361:13[39m)
53-
[90mat[39m Object.collect ([36mnode_modules/@vitest/runner/dist/index.js:364:57[39m)
54-
[90mat[39m Object.collect ([36mnode_modules/@vitest/runner/dist/index.js:364:49[39m)
55-
[90mat[39m collectTests ([36mnode_modules/@vitest/runner/dist/index.js:512:28[39m)
56-
[90mat[39m startTests ([36mnode_modules/@vitest/runner/dist/index.js:840:17[39m)
57-
[90mat[39m file://node_modules/vitest/dist/entry.js:103:7
58-
[90mat[39m withEnv ([36mnode_modules/vitest/dist/entry.js:73:5[39m)
50+
[90mat[39m file://node_modules/@vitest/runner/dist/index.js:362:43
51+
[90mat[39m runWithSuite ([36mnode_modules/@vitest/runner/dist/index.js:51:9[39m)
52+
[90mat[39m Object.collect ([36mnode_modules/@vitest/runner/dist/index.js:362:13[39m)
53+
[90mat[39m Object.collect ([36mnode_modules/@vitest/runner/dist/index.js:365:57[39m)
54+
[90mat[39m Object.collect ([36mnode_modules/@vitest/runner/dist/index.js:365:49[39m)
55+
[90mat[39m collectTests ([36mnode_modules/@vitest/runner/dist/index.js:516:28[39m)
56+
[90mat[39m startTests ([36mnode_modules/@vitest/runner/dist/index.js:830:17[39m)
57+
[90mat[39m file://node_modules/vitest/dist/entry.js:112:7
58+
[90mat[39m withEnv ([36mnode_modules/vitest/dist/entry.js:79:5[39m)
5959
6060
"
6161
`;
@@ -94,23 +94,23 @@ exports[`functional:log/reporters/FancyReporter > #write > LogType.TRACE > shoul
9494
[grease:git] → cannot describe '067c93cc68575a652d8609585bd64478c38dccfe'
9595
9696
at src/subdomains/log/reporters/__tests__/fancy.reporter.functional.spec.ts:84:15
97-
[90mat[39m file://node_modules/@vitest/runner/dist/index.js:58:26
98-
[90mat[39m file://node_modules/@vitest/runner/dist/index.js:582:59
97+
[90mat[39m file://node_modules/@vitest/runner/dist/index.js:59:26
98+
[90mat[39m file://node_modules/@vitest/runner/dist/index.js:577:59
9999
at Array.map (<anonymous>)
100-
[90mat[39m callSuiteHook ([36mnode_modules/@vitest/runner/dist/index.js:582:47[39m)
101-
[90mat[39m runSuite ([36mnode_modules/@vitest/runner/dist/index.js:765:33[39m)
100+
[90mat[39m callSuiteHook ([36mnode_modules/@vitest/runner/dist/index.js:577:47[39m)
101+
[90mat[39m runSuite ([36mnode_modules/@vitest/runner/dist/index.js:758:33[39m)
102102
103103
"
104104
`;
105105
106106
exports[`functional:log/reporters/FancyReporter > #write > LogType.VERBOSE > should write log 1`] = `
107107
"
108-
[90m[grease:config][39m [90m❯[39m Read 19 entries for directory \\"/\\"
108+
[90m[grease:config][39m [90m❯[39m Read 19 entries for directory "/"
109109
"
110110
`;
111111
112112
exports[`functional:log/reporters/FancyReporter > #write > LogType.WARN > should write log 1`] = `
113113
"
114-
[90m[grease:config][39m [33m⚠[39m This assignment will throw because \\"foo\\" is a constant [assign-to-constant]
114+
[90m[grease:config][39m [33m⚠[39m This assignment will throw because "foo" is a constant [assign-to-constant]
115115
"
116116
`;

tsconfig.typecheck.json

+8-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,12 @@
33
"target": "es2022"
44
},
55
"extends": "./tsconfig.json",
6-
"include": ["**/**.cts", "**/**.mts", "**/**.ts"]
6+
"include": [
7+
"**/**.cts",
8+
"**/**.mts",
9+
"**/**.ts",
10+
"**/.*.cts",
11+
"**/.*.mts",
12+
"**/.*.ts"
13+
]
714
}

vitest-env.d.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
/// <reference types='vitest/globals' />
22

33
interface ImportMetaEnv {
4+
readonly [x: string]: string
45
readonly BASE_URL: string
56
readonly DEV: '1' | import('@flex-development/tutils').EmptyString
6-
readonly LINT_STAGED?: '0' | '1'
7+
readonly LINT_STAGED?: import('@flex-development/tutils').Stringify<0 | 1>
78
readonly MODE: import('@flex-development/tutils').NodeEnv.TEST
89
readonly NODE_ENV: import('@flex-development/tutils').NodeEnv.TEST
910
readonly PROD: '1' | import('@flex-development/tutils').EmptyString
1011
readonly PWD: string
1112
readonly SSR: '1' | import('@flex-development/tutils').EmptyString
1213
readonly TEST: 'true'
13-
readonly TYPESCRIPT_VERSION?: string
1414
readonly USER: string
1515
readonly VITEST: 'true'
1616
readonly VITEST_CLI_WRAPPER: 'true'
1717
readonly VITEST_MODE: 'DEV' | 'RUN'
18-
readonly VITEST_POOL_ID: `${number}`
19-
readonly VITEST_WORKER_ID: `${number}`
18+
readonly VITEST_POOL_ID: import('@flex-development/tutils').Numeric
19+
readonly VITEST_WORKER_ID: import('@flex-development/tutils').Numeric
2020
readonly VITE_ROOT: string
2121
readonly VITE_USER_NODE_ENV: import('@flex-development/tutils').NodeEnv.TEST
2222
}

vitest.config.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,8 @@ const config: UserConfigExport = defineConfig((): UserConfig => {
138138
globals: true,
139139
hookTimeout: 10 * 1000,
140140
include: [
141-
`**/__tests__/*.${LINT_STAGED ? '{spec,spec-d}' : 'spec'}.{ts,tsx}`
141+
`**/__tests__/*.${LINT_STAGED ? '{spec,spec-d}' : 'spec'}.ts?(x)`
142142
],
143-
isolate: true,
144143
mockReset: true,
145144
outputFile: { json: './__tests__/report.json' },
146145
passWithNoTests: true,
@@ -187,7 +186,6 @@ const config: UserConfigExport = defineConfig((): UserConfig => {
187186
},
188187
setupFiles: ['./__tests__/setup/index.ts'],
189188
silent: false,
190-
singleThread: true,
191189
slowTestThreshold: 3000,
192190
snapshotFormat: {
193191
callToJSON: true,
@@ -201,6 +199,7 @@ const config: UserConfigExport = defineConfig((): UserConfig => {
201199
checker: 'tsc',
202200
ignoreSourceErrors: false,
203201
include: ['**/__tests__/*.spec-d.ts'],
202+
only: true,
204203
tsconfig: pathe.resolve('tsconfig.typecheck.json')
205204
},
206205
unstubEnvs: true,

0 commit comments

Comments
 (0)