@@ -329,7 +329,9 @@ describe('getGeneratedSchema', () => {
329329 expect ( generatedSchema ) . toContain ( 'export type Schema = typeof schema;' ) ;
330330
331331 // Check for the type exports
332- expect ( generatedSchema ) . toContain ( 'export type User = Row<typeof schema>["users"];' ) ;
332+ expect ( generatedSchema ) . toContain (
333+ 'export type User = Row<typeof schema>["users"];' ,
334+ ) ;
333335
334336 // Verify null custom type handling with the correct type path
335337 const customTypeSchema = {
@@ -1103,8 +1105,12 @@ describe('getGeneratedSchema', () => {
11031105 } ) ;
11041106
11051107 // Check for table type exports with proper capitalization
1106- expect ( generatedSchema ) . toContain ( 'export type User = Row<typeof schema>["users"];' ) ;
1107- expect ( generatedSchema ) . toContain ( 'export type Post = Row<typeof schema>["posts"];' ) ;
1108+ expect ( generatedSchema ) . toContain (
1109+ 'export type User = Row<typeof schema>["users"];' ,
1110+ ) ;
1111+ expect ( generatedSchema ) . toContain (
1112+ 'export type Post = Row<typeof schema>["posts"];' ,
1113+ ) ;
11081114 } ) ;
11091115
11101116 it ( 'should handle table names with various casing correctly' , ( ) => {
@@ -1157,7 +1163,9 @@ describe('getGeneratedSchema', () => {
11571163 expect ( generatedSchema ) . toContain (
11581164 'export type BlogPost = Row<typeof schema>["blog_posts"];' ,
11591165 ) ;
1160- expect ( generatedSchema ) . toContain ( 'export type User = Row<typeof schema>["user"];' ) ;
1166+ expect ( generatedSchema ) . toContain (
1167+ 'export type User = Row<typeof schema>["user"];' ,
1168+ ) ;
11611169 } ) ;
11621170
11631171 it ( 'should include all new features in drizzle-kit type schemas' , ( ) => {
@@ -1216,8 +1224,12 @@ describe('getGeneratedSchema', () => {
12161224 ) ;
12171225
12181226 // Check for table type exports
1219- expect ( generatedSchema ) . toContain ( 'export type User = Row<typeof schema>["users"];' ) ;
1220- expect ( generatedSchema ) . toContain ( 'export type Post = Row<typeof schema>["posts"];' ) ;
1227+ expect ( generatedSchema ) . toContain (
1228+ 'export type User = Row<typeof schema>["users"];' ,
1229+ ) ;
1230+ expect ( generatedSchema ) . toContain (
1231+ 'export type Post = Row<typeof schema>["posts"];' ,
1232+ ) ;
12211233
12221234 // Reset the mock after the test
12231235 vi . restoreAllMocks ( ) ;
@@ -1345,7 +1357,9 @@ describe('getGeneratedSchema', () => {
13451357 expect ( generatedSchema ) . toContain (
13461358 'import type { Row } from "@rocicorp/zero";' ,
13471359 ) ;
1348- expect ( generatedSchema ) . toContain ( 'export type User = Row<typeof schema>["users"];' ) ;
1360+ expect ( generatedSchema ) . toContain (
1361+ 'export type User = Row<typeof schema>["users"];' ,
1362+ ) ;
13491363 } ) ;
13501364
13511365 it ( 'should set enableLegacyMutators to true' , ( ) => {
0 commit comments