Updating imports to support the log error call.
This commit is contained in:
parent
d0910cd1b5
commit
c9a5a47e53
2 changed files with 8 additions and 0 deletions
|
|
@ -10,6 +10,13 @@ import { useMainStore } from '@/store';
|
|||
import settleAllPromises from '@/helpers/layout-helper.js';
|
||||
import { fetchCmsContentForPage } from '@/helpers/cms-content-helper';
|
||||
import * as clientAuthHelper from '@/helpers/clientauth-helper';
|
||||
import Logger from "@/helpers/logger";
|
||||
import crypto from 'crypto';
|
||||
|
||||
// Instantiate global logging object
|
||||
global.$logger = new Logger();
|
||||
|
||||
global.crypto = crypto;
|
||||
|
||||
// Mock our module for promises.
|
||||
jest.mock('@/helpers/layout-helper.js', () => jest.fn());
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ import showIssLoadingModal from '@/helpers/loading-modal-helper';
|
|||
import applicationConfig from '@/constants/application-config';
|
||||
import { toPossessive } from '@/helpers/text-helper';
|
||||
import analyticsMixin from '@/mixins/analytics-mixin';
|
||||
import crypto from 'crypto';
|
||||
|
||||
export default {
|
||||
name: 'entry-page',
|
||||
|
|
|
|||
Loading…
Reference in a new issue