Skip to content

Commit 69ff35a

Browse files
author
PS
committed
fix
1 parent b96408a commit 69ff35a

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

packages/plugin-analytic/src/__tests__/AbstractAnalyticSpec.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,7 @@ describe('AbstractAnalytic', () => {
7676
abstractAnalytic.init();
7777
expect(dispatcher.fire).toHaveBeenCalledWith(
7878
AnalyticEvents.INITIALIZED,
79-
{ type: 'dummy' },
80-
true
79+
{ type: 'dummy' }
8180
);
8281
});
8382
});
@@ -106,8 +105,7 @@ describe('AbstractAnalytic', () => {
106105
expect(abstractAnalytic._configuration).toHaveBeenCalled();
107106
expect(dispatcher.fire).toHaveBeenCalledWith(
108107
AnalyticEvents.LOADED,
109-
{ type: 'dummy' },
110-
true
108+
{ type: 'dummy' }
111109
);
112110
});
113111

@@ -119,8 +117,7 @@ describe('AbstractAnalytic', () => {
119117
expect(abstractAnalytic._configuration.mock.calls).toHaveLength(1);
120118
expect(dispatcher.fire).toHaveBeenCalledWith(
121119
AnalyticEvents.LOADED,
122-
{ type: 'dummy' },
123-
true
120+
{ type: 'dummy' }
124121
);
125122
expect(dispatcher.fire.mock.calls).toHaveLength(1);
126123
});

0 commit comments

Comments
 (0)