Skip to content

Commit 5084c11

Browse files
committed
style
1 parent df6d1ab commit 5084c11

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

packages/pglite/src/pglite.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,9 +295,11 @@ export class PGlite
295295
})
296296

297297
const wasmMemory = new WebAssembly.Memory({
298-
initial: options.initialMemory ? options.initialMemory / (64 * 1024) : 2048,
298+
initial: options.initialMemory
299+
? options.initialMemory / (64 * 1024)
300+
: 2048,
299301
maximum: 32768,
300-
});
302+
})
301303

302304
let emscriptenOpts: Partial<PostgresMod> = {
303305
thisProgram: postgresExePath,

packages/pglite/tests/basic.test.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -653,12 +653,10 @@ await testEsmCjsAndDTC(async (importType) => {
653653

654654
it('initialMemory works', async () => {
655655
const db = await PGlite.create({
656-
initialMemory: 512*1024*1024
656+
initialMemory: 512 * 1024 * 1024,
657657
})
658658

659-
const databaseAndRole = await db.exec(
660-
`SELECT 1;`,
661-
)
659+
await db.exec(`SELECT 1;`)
662660
})
663661
})
664662
})

0 commit comments

Comments
 (0)