Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
06371e0043
commit
06ff83716e
1 changed files with 7 additions and 3 deletions
|
|
@ -10,11 +10,15 @@ 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();
|
||||
// Stub global logging object to avoid real network calls in tests
|
||||
global.$logger = {
|
||||
logError: jest.fn(),
|
||||
logInfo: jest.fn(),
|
||||
logWarn: jest.fn(),
|
||||
logDebug: jest.fn()
|
||||
};
|
||||
|
||||
global.crypto = crypto;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue