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.
1 parent 8867812 commit 8d9b9eeCopy full SHA for 8d9b9ee
assets/js/components/setup/ModuleSetup.test.js
@@ -47,7 +47,6 @@ describe( 'ModuleSetup', () => {
47
let registry;
48
49
beforeEach( () => {
50
- mockTrackEvent.mockClear();
51
registry = createTestRegistry();
52
registry.dispatch( CORE_USER ).receiveGetDismissedItems( [] );
53
registry.dispatch( CORE_USER ).receiveGetDismissedPrompts( {} );
@@ -57,6 +56,10 @@ describe( 'ModuleSetup', () => {
57
56
provideModuleRegistrations( registry );
58
} );
59
+ afterEach( () => {
60
+ mockTrackEvent.mockClear();
61
+ } );
62
+
63
describe( 'Analytics 4', () => {
64
65
provideModules( registry, [
0 commit comments