Skip to content

Commit f9a8b61

Browse files
Eprince-hubporsager
authored andcommitted
Remove semicolons
1 parent 12cbc1b commit f9a8b61

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

tests/index.js

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -615,32 +615,33 @@ t('Bypass transform for json primitive', async () => {
615615
const sql = postgres({
616616
...options,
617617
transform: postgres.camel,
618-
});
618+
})
619619

620620
const x = (
621621
await sql`select 'null'::json as a, 'false'::json as b, '"a"'::json as c, '1'::json as d`
622-
)[0];
622+
)[0]
623623

624624
return [
625625
JSON.stringify({ a: null, b: false, c: { 0: 'a' }, d: {} }),
626626
JSON.stringify(x),
627-
];
628-
});
627+
]
628+
})
629629

630630
t('Bypass transform for jsonb primitive', async () => {
631631
const sql = postgres({
632632
...options,
633633
transform: postgres.camel,
634-
});
634+
})
635+
635636
const x = (
636637
await sql`select 'null'::jsonb as a, 'false'::jsonb as b, '"a"'::jsonb as c, '1'::jsonb as d`
637-
)[0];
638+
)[0]
638639

639640
return [
640641
JSON.stringify({ a: null, b: false, c: { 0: 'a' }, d: {} }),
641642
JSON.stringify(x),
642-
];
643-
});
643+
]
644+
})
644645

645646
t('unsafe', async() => {
646647
await sql`create table test (x int)`

0 commit comments

Comments
 (0)