Skip to content

Commit e9c5776

Browse files
committed
test(nextjs): fix snapshot keys for nested describe blocks
Vitest keys nested describes with ' > ' between every level including the final `it`. The initial snapshot file was missing the separator between the inner describe and the test name, so CI (which refuses to auto-create snapshots) reported the tests as mismatched.
1 parent 84fedae commit e9c5776

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/nextjs/src/server/__tests__/__snapshots__/exports.test.ts.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
22

3-
exports[`/server public exports > default condition (pages-safe) should not include a breaking change 1`] = `
3+
exports[`/server public exports > default condition (pages-safe) > should not include a breaking change 1`] = `
44
[
55
"buildClerkProps",
66
"clerkClient",
@@ -16,7 +16,7 @@ exports[`/server public exports > default condition (pages-safe) should not incl
1616
]
1717
`;
1818

19-
exports[`/server public exports > react-server condition should not include a breaking change 1`] = `
19+
exports[`/server public exports > react-server condition > should not include a breaking change 1`] = `
2020
[
2121
"auth",
2222
"buildClerkProps",

0 commit comments

Comments
 (0)