Skip to content

Commit 8e4f916

Browse files
Eprince-hubporsager
authored andcommitted
Remove semicolons
1 parent 758911d commit 8e4f916

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
@@ -616,32 +616,33 @@ t('Bypass transform for json primitive', async () => {
616616
const sql = postgres({
617617
...options,
618618
transform: postgres.camel,
619-
});
619+
})
620620

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

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

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

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

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

0 commit comments

Comments
 (0)