Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
tudor committed Feb 5, 2025
1 parent 71a04e0 commit 85719a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/pglite/src/pglite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -797,6 +797,6 @@ export class PGlite

async clone(): Promise<PGliteInterface> {
const dump = await this.dumpDataDir('none')
return new PGlite({loadDataDir: dump});
return new PGlite({ loadDataDir: dump })
}
}
6 changes: 3 additions & 3 deletions packages/pglite/tests/clone.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ describe('clone', () => {
);
`)
await pg1.exec("INSERT INTO test (name) VALUES ('test');")

const pg2 = await pg1.clone()

const ret1 = await pg1.query('SELECT * FROM test;')
const ret2 = await pg2.query('SELECT * FROM test;')

Expand All @@ -29,7 +29,7 @@ describe('clone', () => {
);
`)
await pg1.exec("INSERT INTO test (name) VALUES ('test');")

const pg2 = await pg1.clone()
await pg2.exec("INSERT INTO test (name) VALUES ('2-test');")

Expand Down

0 comments on commit 85719a0

Please sign in to comment.