Skip to content

Commit e0a84b5

Browse files
committed
fix: make another transaction callback async
1 parent d92be3b commit e0a84b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/src/tests/unit/specs/transaction.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ export default function registerTransactionUnitTests() {
201201
})
202202

203203
it('Transaction, rejects on callback error', async () => {
204-
const promised = testDb.transaction(() => {
204+
const promised = testDb.transaction(async () => {
205205
throw new Error(DUMMY_ERROR_MESSAGE)
206206
})
207207

0 commit comments

Comments
 (0)