From 2d6ddaad52f317615c96ea25fe26e93ef8a7e190 Mon Sep 17 00:00:00 2001 From: ANKUR DWIVEDI Date: Mon, 27 Nov 2023 15:23:16 +0530 Subject: [PATCH] removed stroy book --- tests/storyshots.test.js | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 tests/storyshots.test.js diff --git a/tests/storyshots.test.js b/tests/storyshots.test.js deleted file mode 100644 index 0f2523c..0000000 --- a/tests/storyshots.test.js +++ /dev/null @@ -1,13 +0,0 @@ -import initStoryshots from '@storybook/addon-storyshots'; -import {jest} from '@jest/globals' - -initStoryshots({ /* configuration options */ }); - -// Dates get changed in snapshots depending on timezone of bulding machine, -// So we set a default date or moment for all dates. -const DATE_TO_USE = new Date('2019'); -const _Date = Date; -global.Date = jest.fn(() => DATE_TO_USE); -global.Date.UTC = _Date.UTC; -global.Date.parse = _Date.parse; -global.Date.now = _Date.now;