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.
2 parents 35c8350 + a869f8f commit 77b4aecCopy full SHA for 77b4aec
packages/firestore/test/unit/core/event_manager.test.ts
@@ -43,7 +43,7 @@ import {
43
query
44
} from '../../util/helpers';
45
46
-describe('EventManager', () => {
+describe.only('EventManager', () => {
47
// mock object.
48
// eslint-disable-next-line @typescript-eslint/no-explicit-any
49
function fakeQueryListener(query: Query): any {
@@ -79,7 +79,7 @@ describe('EventManager', () => {
79
expect(onListenSpy.callCount).to.equal(1);
80
81
await eventManagerUnlisten(eventManager, fakeListener2);
82
- expect(onListenSpy.callCount).to.equal(0);
+ expect(onUnlistenSpy.callCount).to.equal(0);
83
84
await eventManagerUnlisten(eventManager, fakeListener1);
85
expect(onUnlistenSpy.calledWith(query1)).to.be.true;
0 commit comments