mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
Update sql-mysql.helpers.test.ts
This commit is contained in:
@@ -118,7 +118,7 @@ describeWithContainer(
|
||||
{ id: 2, name: "Jane", age: 25 },
|
||||
];
|
||||
|
||||
expect(() => sql`DELETE FROM ${sql(random_name)} ${sql(users, "id")}`.execute()).toThrow(SyntaxError);
|
||||
expect(async () => await sql`DELETE FROM ${sql(random_name)} ${sql(users, "id")}`).toThrow(SyntaxError);
|
||||
});
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user