Skip to content

Commit 39f9e80

Browse files
committed
Fix async transaction test
1 parent 4aaebd3 commit 39f9e80

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

integration-tests/tests/async.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ test.serial("Database.transaction().immediate()", async (t) => {
277277
const insert = await db.prepare(
278278
"INSERT INTO users(name, email) VALUES (:name, :email)"
279279
);
280-
const insertMany = db.transaction(await (users) => {
280+
const insertMany = db.transaction(async (users) => {
281281
t.is(db.inTransaction, true);
282282
for (const user of users) await insert.run(user);
283283
});

0 commit comments

Comments
 (0)