Skip to content

Commit

Permalink
Update test.
Browse files Browse the repository at this point in the history
  • Loading branch information
hussain-t committed Dec 1, 2022
1 parent 5e6e0ac commit 2ed5588
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import {
act,
} from '../../../../../tests/js/test-utils';
import { CORE_MODULES } from '../../../googlesitekit/modules/datastore/constants';
import { MODULES_ANALYTICS } from '../../../modules/analytics/datastore/constants';

describe( 'SettingsModule', () => {
const SettingsModuleWithWrapper = ( { slug = 'analytics' } ) => (
Expand Down Expand Up @@ -93,6 +94,7 @@ describe( 'SettingsModule', () => {
),
},
] );
registry.dispatch( MODULES_ANALYTICS ).receiveGetSettings( {} );
} );

it( 'should display SettingsViewComponent when on module view route', () => {
Expand Down

0 comments on commit 2ed5588

Please sign in to comment.