We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d92be3b commit e0a84b5Copy full SHA for e0a84b5
example/src/tests/unit/specs/transaction.spec.ts
@@ -201,7 +201,7 @@ export default function registerTransactionUnitTests() {
201
})
202
203
it('Transaction, rejects on callback error', async () => {
204
- const promised = testDb.transaction(() => {
+ const promised = testDb.transaction(async () => {
205
throw new Error(DUMMY_ERROR_MESSAGE)
206
207
0 commit comments