Skip to content

Commit bbaf7e5

Browse files
committed
Please eslint
1 parent 211f6b9 commit bbaf7e5

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

cjs/tests/index.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -612,10 +612,10 @@ t('Transform nested json in arrays', async() => {
612612
return ['aBcD', (await sql`select '[{"a_b":1},{"c_d":2}]'::jsonb as x`)[0].x.map(Object.keys).join('')]
613613
})
614614

615-
t('Bypass transform for json primitive', async () => {
615+
t('Bypass transform for json primitive', async() => {
616616
const sql = postgres({
617617
...options,
618-
transform: postgres.camel,
618+
transform: postgres.camel
619619
})
620620

621621
const x = (
@@ -624,14 +624,14 @@ t('Bypass transform for json primitive', async () => {
624624

625625
return [
626626
JSON.stringify({ a: null, b: false, c: 'a', d: 1 }),
627-
JSON.stringify(x),
627+
JSON.stringify(x)
628628
]
629629
})
630630

631-
t('Bypass transform for jsonb primitive', async () => {
631+
t('Bypass transform for jsonb primitive', async() => {
632632
const sql = postgres({
633633
...options,
634-
transform: postgres.camel,
634+
transform: postgres.camel
635635
})
636636

637637
const x = (
@@ -640,7 +640,7 @@ t('Bypass transform for jsonb primitive', async () => {
640640

641641
return [
642642
JSON.stringify({ a: null, b: false, c: 'a', d: 1 }),
643-
JSON.stringify(x),
643+
JSON.stringify(x)
644644
]
645645
})
646646

deno/tests/index.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -614,10 +614,10 @@ t('Transform nested json in arrays', async() => {
614614
return ['aBcD', (await sql`select '[{"a_b":1},{"c_d":2}]'::jsonb as x`)[0].x.map(Object.keys).join('')]
615615
})
616616

617-
t('Bypass transform for json primitive', async () => {
617+
t('Bypass transform for json primitive', async() => {
618618
const sql = postgres({
619619
...options,
620-
transform: postgres.camel,
620+
transform: postgres.camel
621621
})
622622

623623
const x = (
@@ -626,14 +626,14 @@ t('Bypass transform for json primitive', async () => {
626626

627627
return [
628628
JSON.stringify({ a: null, b: false, c: 'a', d: 1 }),
629-
JSON.stringify(x),
629+
JSON.stringify(x)
630630
]
631631
})
632632

633-
t('Bypass transform for jsonb primitive', async () => {
633+
t('Bypass transform for jsonb primitive', async() => {
634634
const sql = postgres({
635635
...options,
636-
transform: postgres.camel,
636+
transform: postgres.camel
637637
})
638638

639639
const x = (
@@ -642,7 +642,7 @@ t('Bypass transform for jsonb primitive', async () => {
642642

643643
return [
644644
JSON.stringify({ a: null, b: false, c: 'a', d: 1 }),
645-
JSON.stringify(x),
645+
JSON.stringify(x)
646646
]
647647
})
648648

tests/index.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -612,10 +612,10 @@ t('Transform nested json in arrays', async() => {
612612
return ['aBcD', (await sql`select '[{"a_b":1},{"c_d":2}]'::jsonb as x`)[0].x.map(Object.keys).join('')]
613613
})
614614

615-
t('Bypass transform for json primitive', async () => {
615+
t('Bypass transform for json primitive', async() => {
616616
const sql = postgres({
617617
...options,
618-
transform: postgres.camel,
618+
transform: postgres.camel
619619
})
620620

621621
const x = (
@@ -624,14 +624,14 @@ t('Bypass transform for json primitive', async () => {
624624

625625
return [
626626
JSON.stringify({ a: null, b: false, c: 'a', d: 1 }),
627-
JSON.stringify(x),
627+
JSON.stringify(x)
628628
]
629629
})
630630

631-
t('Bypass transform for jsonb primitive', async () => {
631+
t('Bypass transform for jsonb primitive', async() => {
632632
const sql = postgres({
633633
...options,
634-
transform: postgres.camel,
634+
transform: postgres.camel
635635
})
636636

637637
const x = (
@@ -640,7 +640,7 @@ t('Bypass transform for jsonb primitive', async () => {
640640

641641
return [
642642
JSON.stringify({ a: null, b: false, c: 'a', d: 1 }),
643-
JSON.stringify(x),
643+
JSON.stringify(x)
644644
]
645645
})
646646

0 commit comments

Comments
 (0)