From 4a64baeac3f9b7e990ac00820f0945aa65ccbfb4 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Fri, 6 Jan 2023 17:29:15 +0100 Subject: [PATCH] fix test, by updating a hardcoded path --- code/addons/storyshots-core/src/frameworks/configure.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);