Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
cirospaciari committed Jan 29, 2025
1 parent 23d076f commit c66ace7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/js/sql/sql.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -666,12 +666,12 @@ if (isDockerEnabled()) {
).toBe("testing");
});

test("Uncaught transaction request errosó rs bubbles to transaction", async () => {
test("Uncaught transaction request errors are bubbled to transaction", async () => {
const sql = postgres({ ...options, debug: true, idle_timeout: 1, fetch_types: false });
expect(
await sql
.begin(sql => [sql`select wat`, sql`select current_setting('bun_sql.test') as x, ${1} as a`])
.catch(e => e.errno),
.catch(e => e.errno || e),
).toBe("42703");
});

Expand Down

0 comments on commit c66ace7

Please sign in to comment.