diff --git a/examples/example-basic/test/report.test.ts b/examples/example-basic/test/report.test.ts index c4d4f2d..6885174 100644 --- a/examples/example-basic/test/report.test.ts +++ b/examples/example-basic/test/report.test.ts @@ -12,10 +12,10 @@ test('report matches snapshot', () => { const report = stabilizeReport(output); expect(report).toMatchInlineSnapshot(` - " - - - + " + + + " `); diff --git a/examples/example-workspace/packages/client/test/render-user.test.ts b/examples/example-workspace/packages/client/test/render-user.test.ts index e11a0c0..d86248d 100644 --- a/examples/example-workspace/packages/client/test/render-user.test.ts +++ b/examples/example-workspace/packages/client/test/render-user.test.ts @@ -6,9 +6,9 @@ describe('renderUser', () => { test('renders user', () => { expect(renderUser('John Doe')).toMatchInlineSnapshot(` " -
- John - Doe +
+ John + Doe
" `); diff --git a/examples/example-workspace/report-test/report.test.ts b/examples/example-workspace/report-test/report.test.ts index 2dc3fad..293be63 100644 --- a/examples/example-workspace/report-test/report.test.ts +++ b/examples/example-workspace/report-test/report.test.ts @@ -17,17 +17,17 @@ test('report matches snapshot', () => { const report = stabilizeReport(output); expect(report).toMatchInlineSnapshot(` - " - - + " + + - - + + - - - - + + + + " `); diff --git a/package.json b/package.json index 1009208..5aa4a9a 100644 --- a/package.json +++ b/package.json @@ -39,10 +39,10 @@ "publint": "^0.2.6", "typescript": "^5.3.2", "vite": "^5.0.4", - "vitest": "1.0.0-beta.6" + "vitest": "^1.0.0" }, "peerDependencies": { - "vitest": ">=0.18.0" + "vitest": ">=1" }, "keywords": [ "vitest", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8d5ecc5..a003c2a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -42,8 +42,8 @@ devDependencies: specifier: ^5.0.4 version: 5.0.4(@types/node@20.10.3) vitest: - specifier: 1.0.0-beta.6 - version: 1.0.0-beta.6(@types/node@20.10.3) + specifier: ^1.0.0 + version: 1.0.0(@types/node@20.10.3) packages: @@ -629,38 +629,38 @@ packages: resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} dev: true - /@vitest/expect@1.0.0-beta.6: - resolution: {integrity: sha512-leCesYErICeBQEz0Tzaopad1cnCUBfR1gDk2nFxHCChv7gdYTezcC2YRlPCwA8TuWGCXs8cdyTFO5R6QhUfY9A==} + /@vitest/expect@1.0.0: + resolution: {integrity: sha512-EbqHCSzQhAY8Su/uLsMCDXkC26LyqQO54kAqJy/DubBqwpRre1iMzvDMPWx+YPfNIN3w7/ydKaJWjH6qRoz0fA==} dependencies: - '@vitest/spy': 1.0.0-beta.6 - '@vitest/utils': 1.0.0-beta.6 + '@vitest/spy': 1.0.0 + '@vitest/utils': 1.0.0 chai: 4.3.10 dev: true - /@vitest/runner@1.0.0-beta.6: - resolution: {integrity: sha512-pcFo7XRaALk44ck8LpcjtIsr2Ue4jFNfaq5MDlHupAekkJdDdFrAAfOmsE/LnIqeUsnd/6IaKvLX1oRnCkz6kg==} + /@vitest/runner@1.0.0: + resolution: {integrity: sha512-1CaYs4knCexozpGxNiT89foiIxidOdU220QpU6CKMN0qU05e3K5XNH8f4pW9KyXH37o1Zin1cLHkoLr/k7NyrQ==} dependencies: - '@vitest/utils': 1.0.0-beta.6 + '@vitest/utils': 1.0.0 p-limit: 5.0.0 pathe: 1.1.1 dev: true - /@vitest/snapshot@1.0.0-beta.6: - resolution: {integrity: sha512-znkf7R67aanWHjAfx+/Yj5VwIdUHU1I1akJFL8lguiu5C6C12D4ICHeMjRBc7e7BrIguBWZFfqPx/ZUSxqMTfA==} + /@vitest/snapshot@1.0.0: + resolution: {integrity: sha512-kAcQJGsaHMBLrY0QC6kMe7S+JgiMielX2qHqgWFxlUir5IVekJGokJcYTzoOp+MRN1Gue3Q6H5fZD4aC0XHloA==} dependencies: magic-string: 0.30.5 pathe: 1.1.1 pretty-format: 29.7.0 dev: true - /@vitest/spy@1.0.0-beta.6: - resolution: {integrity: sha512-AaR9a/ecsJ4lMeC5ZdsTfXqBVxA7ZrmT3q/ooUGXYvAtSxETn39gWC6h7wxUCtKwTLClq+5FmA03Co5/zmGMBw==} + /@vitest/spy@1.0.0: + resolution: {integrity: sha512-k2gZwSi7nkwcYMj1RNgb45jNUDV/opAGlsVvcmYrRXu2QljMSlyAa0Yut+n3S39XoEKp0I4ggVLABj0xVInynw==} dependencies: tinyspy: 2.2.0 dev: true - /@vitest/utils@1.0.0-beta.6: - resolution: {integrity: sha512-PyUf4dTFRLfq6YAdAab39i32O/qhpeCVM7cUpN1au7BrvYI/e43ZDhhHdwbt8zP14l06PNrXd5nTSZPFQwmsVw==} + /@vitest/utils@1.0.0: + resolution: {integrity: sha512-r9JhgaP2bUYSnKE9w0aNblCIK8SKpDhXfJgE4TzjDNq3G40Abo5WXJBEKYAteq5p+OWedSFUg6GirNOlH7pN7Q==} dependencies: diff-sequences: 29.6.3 loupe: 2.3.7 @@ -2883,8 +2883,8 @@ packages: spdx-expression-parse: 3.0.1 dev: true - /vite-node@1.0.0-beta.6(@types/node@20.10.3): - resolution: {integrity: sha512-cDRdVdirWxw8AODIGzdM0uI5J4Ts7evXzelFAQgngSyblaQG84PUsVHeMIhNWWM5L1K0hst+R2ecJzPUgI6tCw==} + /vite-node@1.0.0(@types/node@20.10.3): + resolution: {integrity: sha512-9pGEPYsHy+7Ok7d6FkvniCmMI58IJ4KfFSK0Xq2FHWPQoBRpJKubaNBvMcXm0+uAwS6K2Rh9qJOKijdgqrjN+Q==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true dependencies: @@ -2940,8 +2940,8 @@ packages: fsevents: 2.3.3 dev: true - /vitest@1.0.0-beta.6(@types/node@20.10.3): - resolution: {integrity: sha512-yahr45sIcSq8SaY9FUcmWLrsDMAL3mCd/vC890uymiZhrZ5VQrqMmOT0FcB7vtC4kh327p6IXWqHHLr7B0hRug==} + /vitest@1.0.0(@types/node@20.10.3): + resolution: {integrity: sha512-jpablj5+ifiFHV3QGOxPews3uxBuu6rQUzTaQYtEd6ocBpdQBil6AvmmGRQ3Rn0WPgyzb+Ni+JekfMyng+qYng==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: @@ -2966,11 +2966,11 @@ packages: optional: true dependencies: '@types/node': 20.10.3 - '@vitest/expect': 1.0.0-beta.6 - '@vitest/runner': 1.0.0-beta.6 - '@vitest/snapshot': 1.0.0-beta.6 - '@vitest/spy': 1.0.0-beta.6 - '@vitest/utils': 1.0.0-beta.6 + '@vitest/expect': 1.0.0 + '@vitest/runner': 1.0.0 + '@vitest/snapshot': 1.0.0 + '@vitest/spy': 1.0.0 + '@vitest/utils': 1.0.0 acorn-walk: 8.3.0 cac: 6.7.14 chai: 4.3.10 @@ -2985,7 +2985,7 @@ packages: tinybench: 2.5.1 tinypool: 0.8.1 vite: 5.0.4(@types/node@20.10.3) - vite-node: 1.0.0-beta.6(@types/node@20.10.3) + vite-node: 1.0.0(@types/node@20.10.3) why-is-node-running: 2.2.2 transitivePeerDependencies: - less