diff --git a/packages/firestore-compat/test/transactions.test.ts b/packages/firestore-compat/test/transactions.test.ts index 0109ea62f93..7a67e84e0e2 100644 --- a/packages/firestore-compat/test/transactions.test.ts +++ b/packages/firestore-compat/test/transactions.test.ts @@ -241,7 +241,7 @@ apiDescribe('Database transactions', (persistence: boolean) => { .run(get, set1, set2) .expectDoc({ foo: 'bar2' }); }); - }); + }).timeout(10000); it('runs transactions after getting non-existent document', async () => { return integrationHelpers.withTestDb(persistence, async db => { @@ -280,7 +280,7 @@ apiDescribe('Database transactions', (persistence: boolean) => { .run(get, set1, set2) .expectDoc({ foo: 'bar2' }); }); - }); + }).timeout(10000); it('runs transactions on existing document', async () => { return integrationHelpers.withTestDb(persistence, async db => { diff --git a/packages/firestore/test/integration/api/transactions.test.ts b/packages/firestore/test/integration/api/transactions.test.ts index df7e520fccd..802dfdd0bbe 100644 --- a/packages/firestore/test/integration/api/transactions.test.ts +++ b/packages/firestore/test/integration/api/transactions.test.ts @@ -314,7 +314,7 @@ apiDescribe('Database transactions', (persistence: boolean) => { .run(get, set1, set2) .expectDoc({ foo: 'bar2' }); }); - }); + }).timeout(10000); // This test is identical to the test above, except that withNonexistentDoc() // is replaced by withDeletedDoc(), to guard against regression of @@ -355,7 +355,7 @@ apiDescribe('Database transactions', (persistence: boolean) => { .expectDoc({ foo: 'bar2' }); await tt.withDeletedDoc().run(get, set1, set2).expectDoc({ foo: 'bar2' }); }); - }); + }).timeout(10000); it('runs transactions on existing document', async () => { return withTestDb(persistence, async db => {