Skip to content

Commit b20d978

Browse files
committed
Please eslint
1 parent 6a4801f commit b20d978

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
@@ -611,10 +611,10 @@ t('Transform nested json in arrays', async() => {
611611
return ['aBcD', (await sql`select '[{"a_b":1},{"c_d":2}]'::jsonb as x`)[0].x.map(Object.keys).join('')]
612612
})
613613

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

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

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

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

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

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

deno/tests/index.js

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

616-
t('Bypass transform for json primitive', async () => {
616+
t('Bypass transform for json primitive', async() => {
617617
const sql = postgres({
618618
...options,
619-
transform: postgres.camel,
619+
transform: postgres.camel
620620
})
621621

622622
const x = (
@@ -625,14 +625,14 @@ t('Bypass transform for json primitive', async () => {
625625

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

632-
t('Bypass transform for jsonb primitive', async () => {
632+
t('Bypass transform for jsonb primitive', async() => {
633633
const sql = postgres({
634634
...options,
635-
transform: postgres.camel,
635+
transform: postgres.camel
636636
})
637637

638638
const x = (
@@ -641,7 +641,7 @@ t('Bypass transform for jsonb primitive', async () => {
641641

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

tests/index.js

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

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

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

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

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

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

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

0 commit comments

Comments
 (0)