Skip to content

Commit b94c8a8

Browse files
committed
Removed unneeded test
1 parent 910d5ae commit b94c8a8

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

packages/database/test/exp/integration.test.ts

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -403,26 +403,6 @@ describe('Database@exp Tests', () => {
403403
expect(snapshot.val()).to.deep.eq(expected);
404404
});
405405

406-
it('should test get with limitTo listener only fires once', async () => {
407-
const db = getDatabase(defaultApp);
408-
const { readerRef, writerRef } = getRWRefs(db);
409-
const readQuery = query(readerRef, limitToFirst(1));
410-
const toWrite = {
411-
child1: 'test1',
412-
child2: 'test2'
413-
};
414-
await set(writerRef, toWrite);
415-
const ec = EventAccumulatorFactory.waitsForExactCount(1);
416-
onValue(readQuery, snapshot => {
417-
ec.addEvent(snapshot);
418-
});
419-
const events = await ec.promise;
420-
const expected = { child1: 'test1' };
421-
expect(events[0].val()).to.deep.eq(expected);
422-
const snapshot = await get(readerRef);
423-
expect(snapshot.val()).to.deep.eq(toWrite);
424-
});
425-
426406
it('should test startAt get with listener only fires once', async () => {
427407
const db = getDatabase(defaultApp);
428408
const { readerRef, writerRef } = getRWRefs(db);

0 commit comments

Comments
 (0)