You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
expect(fakeImpressionsCache.track.mock.calls[0][0]).toEqual([imp1,imp2]);// Should call the storage track method once we invoke .track() method, passing impressions with `track` enabled
expect(fakeIntegrationsManager.handleImpression).not.toBeCalled();// The integrations manager handleImpression method should not be invoked if we haven't tracked impressions.
91
91
92
92
// We signal that we actually want to track the queued impressions.
expect(fakeImpressionsCache.track.mock.calls[0][0]).toEqual([fakeImpression]);// Even with a listener, impressions (with `track` enabled) should be sent to the cache
96
96
expect(fakeListener.logImpression).not.toBeCalled();// The listener should not be executed synchronously.
0 commit comments