From b20d978936186d8a3780056358ea6fefcb477a35 Mon Sep 17 00:00:00 2001 From: Rasmus Porsager Date: Wed, 16 Nov 2022 21:47:27 +0100 Subject: [PATCH] Please eslint --- cjs/tests/index.js | 12 ++++++------ deno/tests/index.js | 12 ++++++------ tests/index.js | 12 ++++++------ 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/cjs/tests/index.js b/cjs/tests/index.js index 59f75df8..8cb3944c 100644 --- a/cjs/tests/index.js +++ b/cjs/tests/index.js @@ -611,10 +611,10 @@ t('Transform nested json in arrays', async() => { return ['aBcD', (await sql`select '[{"a_b":1},{"c_d":2}]'::jsonb as x`)[0].x.map(Object.keys).join('')] }) -t('Bypass transform for json primitive', async () => { +t('Bypass transform for json primitive', async() => { const sql = postgres({ ...options, - transform: postgres.camel, + transform: postgres.camel }) const x = ( @@ -623,14 +623,14 @@ t('Bypass transform for json primitive', async () => { return [ JSON.stringify({ a: null, b: false, c: 'a', d: 1 }), - JSON.stringify(x), + JSON.stringify(x) ] }) -t('Bypass transform for jsonb primitive', async () => { +t('Bypass transform for jsonb primitive', async() => { const sql = postgres({ ...options, - transform: postgres.camel, + transform: postgres.camel }) const x = ( @@ -639,7 +639,7 @@ t('Bypass transform for jsonb primitive', async () => { return [ JSON.stringify({ a: null, b: false, c: 'a', d: 1 }), - JSON.stringify(x), + JSON.stringify(x) ] }) diff --git a/deno/tests/index.js b/deno/tests/index.js index 8845ab58..f52f8e5b 100644 --- a/deno/tests/index.js +++ b/deno/tests/index.js @@ -613,10 +613,10 @@ t('Transform nested json in arrays', async() => { return ['aBcD', (await sql`select '[{"a_b":1},{"c_d":2}]'::jsonb as x`)[0].x.map(Object.keys).join('')] }) -t('Bypass transform for json primitive', async () => { +t('Bypass transform for json primitive', async() => { const sql = postgres({ ...options, - transform: postgres.camel, + transform: postgres.camel }) const x = ( @@ -625,14 +625,14 @@ t('Bypass transform for json primitive', async () => { return [ JSON.stringify({ a: null, b: false, c: 'a', d: 1 }), - JSON.stringify(x), + JSON.stringify(x) ] }) -t('Bypass transform for jsonb primitive', async () => { +t('Bypass transform for jsonb primitive', async() => { const sql = postgres({ ...options, - transform: postgres.camel, + transform: postgres.camel }) const x = ( @@ -641,7 +641,7 @@ t('Bypass transform for jsonb primitive', async () => { return [ JSON.stringify({ a: null, b: false, c: 'a', d: 1 }), - JSON.stringify(x), + JSON.stringify(x) ] }) diff --git a/tests/index.js b/tests/index.js index 131dd260..576cb7d4 100644 --- a/tests/index.js +++ b/tests/index.js @@ -611,10 +611,10 @@ t('Transform nested json in arrays', async() => { return ['aBcD', (await sql`select '[{"a_b":1},{"c_d":2}]'::jsonb as x`)[0].x.map(Object.keys).join('')] }) -t('Bypass transform for json primitive', async () => { +t('Bypass transform for json primitive', async() => { const sql = postgres({ ...options, - transform: postgres.camel, + transform: postgres.camel }) const x = ( @@ -623,14 +623,14 @@ t('Bypass transform for json primitive', async () => { return [ JSON.stringify({ a: null, b: false, c: 'a', d: 1 }), - JSON.stringify(x), + JSON.stringify(x) ] }) -t('Bypass transform for jsonb primitive', async () => { +t('Bypass transform for jsonb primitive', async() => { const sql = postgres({ ...options, - transform: postgres.camel, + transform: postgres.camel }) const x = ( @@ -639,7 +639,7 @@ t('Bypass transform for jsonb primitive', async () => { return [ JSON.stringify({ a: null, b: false, c: 'a', d: 1 }), - JSON.stringify(x), + JSON.stringify(x) ] })