From 559c95ee2cff9bd9aeffca58eec9035c753cf029 Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Sat, 30 Aug 2025 21:48:26 -0700 Subject: [PATCH] Update sql-mysql.helpers.test.ts --- test/js/sql/sql-mysql.helpers.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/js/sql/sql-mysql.helpers.test.ts b/test/js/sql/sql-mysql.helpers.test.ts index 73aeccbf45..86a310261a 100644 --- a/test/js/sql/sql-mysql.helpers.test.ts +++ b/test/js/sql/sql-mysql.helpers.test.ts @@ -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); }); }, );