Skip to content

Commit aada6b8

Browse files
committed
Fix migration test.
1 parent 998dae0 commit aada6b8

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

migration/index.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ describe("Migration", () => {
1818
});
1919

2020
tester.run("v24", migration.rules.v25, {
21-
valid: [`import {} from "zod/v4";`],
21+
valid: [`import {} from "zod";`],
2222
invalid: [
2323
{
24-
code: `import {} from "zod";`,
25-
output: `import {} from "zod/v4";`,
24+
code: `import {} from "zod/v4";`,
25+
output: `import {} from "zod";`,
2626
errors: [
2727
{
2828
messageId: "change",
29-
data: { subject: "import", from: "zod", to: "zod/v4" },
29+
data: { subject: "import", from: "zod/v4", to: "zod" },
3030
},
3131
],
3232
},

0 commit comments

Comments
 (0)