Skip to content

Commit 2769e4e

Browse files
chore(deps): update dependency vitest to v4 (#829)
* chore(deps): update dependency vitest to v4 * fixup! chore(deps): update dependency vitest to v4 * fixup! fixup! chore(deps): update dependency vitest to v4 * fixup! fixup! fixup! chore(deps): update dependency vitest to v4 --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Yuta Hiroto <[email protected]>
1 parent a4b8382 commit 2769e4e

File tree

5 files changed

+81
-195
lines changed

5 files changed

+81
-195
lines changed

.internal/tests/common.test.mjs.snapshot

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1111,7 +1111,6 @@ exports[`common > should update src/app/layout.tsx 1`] = `
11111111

11121112
exports[`common > should update src/middleware.test.ts 1`] = `
11131113
[
1114-
"import { beforeEach } from \\"node:test\\";",
11151114
"import type { AppRouteHandlerFn } from \\"next/dist/server/route-modules/app-route/module\\";",
11161115
"import {",
11171116
" getRewrittenUrl,",
@@ -1120,7 +1119,7 @@ exports[`common > should update src/middleware.test.ts 1`] = `
11201119
"} from \\"next/experimental/testing/server.js\\";",
11211120
"import { NextRequest, type NextResponse } from \\"next/server\\";",
11221121
"import type { NextAuthResult } from \\"next-auth\\";",
1123-
"import { describe, expect, test, vi } from \\"vitest\\";",
1122+
"import { beforeEach, describe, expect, test, vi } from \\"vitest\\";",
11241123
"import nextConfig from \\"../next.config\\";",
11251124
"import middleware, { config } from \\"./middleware\\";",
11261125
"",

.internal/tests/no-sample-code.test.mjs.snapshot

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,6 @@ exports[`no-sample-code > should update src/app/layout.tsx 1`] = `
486486

487487
exports[`no-sample-code > should update src/middleware.test.ts 1`] = `
488488
[
489-
"import { beforeEach } from \\"node:test\\";",
490489
"import type { AppRouteHandlerFn } from \\"next/dist/server/route-modules/app-route/module\\";",
491490
"import {",
492491
" getRewrittenUrl,",
@@ -495,7 +494,7 @@ exports[`no-sample-code > should update src/middleware.test.ts 1`] = `
495494
"} from \\"next/experimental/testing/server.js\\";",
496495
"import { NextRequest, type NextResponse } from \\"next/server\\";",
497496
"import type { NextAuthResult } from \\"next-auth\\";",
498-
"import { describe, expect, test, vi } from \\"vitest\\";",
497+
"import { beforeEach, describe, expect, test, vi } from \\"vitest\\";",
499498
"import nextConfig from \\"../next.config\\";",
500499
"import middleware, { config } from \\"./middleware\\";",
501500
"",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,6 @@
6363
"tailwindcss": "4.1.17",
6464
"testcontainers": "11.8.1",
6565
"typescript": "5.9.3",
66-
"vitest": "3.2.4"
66+
"vitest": "4.0.9"
6767
}
6868
}

0 commit comments

Comments
 (0)