diff --git a/code/addons/storyshots-core/src/frameworks/configure.test.ts b/code/addons/storyshots-core/src/frameworks/configure.test.ts index 509aa5a13b24..0e4377e9dede 100644 --- a/code/addons/storyshots-core/src/frameworks/configure.test.ts +++ b/code/addons/storyshots-core/src/frameworks/configure.test.ts @@ -2,7 +2,7 @@ import path from 'path'; import { getPreviewFile, getMainFile } from './configure'; // eslint-disable-next-line global-require, jest/no-mocks-import -jest.mock('fs', () => require('../../../../../__mocks__/fs')); +jest.mock('fs', () => require('../../../../__mocks__/fs')); const setupFiles = (files: Record) => { // eslint-disable-next-line no-underscore-dangle, global-require require('fs').__setMockFiles(files);