Skip to content

Commit 5e8ead8

Browse files
committed
Attempted to fix timeout
1 parent 0a0fb3a commit 5e8ead8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/database-compat/test/query.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3394,7 +3394,7 @@ describe('Query Tests', () => {
33943394
expect(snapshot.val()).to.deep.equal({ data: '1' });
33953395
reader.database.goOffline();
33963396
try {
3397-
await expect(reader.child('foo/notCached').get()).to.eventually.be
3397+
await expect(promiseWithTimeout(reader.child('foo/notCached').get())).to.eventually.be
33983398
.rejected;
33993399
} finally {
34003400
reader.database.goOnline();

0 commit comments

Comments
 (0)