From b4e31b9a2b6d6ed95bc0dacdeb973e500fa191b5 Mon Sep 17 00:00:00 2001 From: shervinchen Date: Sun, 16 Jun 2024 10:45:33 +0300 Subject: [PATCH] chore: remove useless mock config --- __mocks__/styled-jsx/css.js | 4 ---- jest.config.ts | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) delete mode 100644 __mocks__/styled-jsx/css.js diff --git a/__mocks__/styled-jsx/css.js b/__mocks__/styled-jsx/css.js deleted file mode 100644 index 8a9c7c3..0000000 --- a/__mocks__/styled-jsx/css.js +++ /dev/null @@ -1,4 +0,0 @@ -// module.exports = { -// resolve: () => ({ className: '', styles: '' }), -// global: () => '', -// }; diff --git a/jest.config.ts b/jest.config.ts index 1164af3..6e001e9 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -118,7 +118,7 @@ const config: Config = { // rootDir: undefined, // A list of paths to directories that Jest should use to search for files in - roots: ['/packages', '/__mocks__'], + roots: ['/packages'], // Allows you to use a custom runner instead of Jest's default test runner // runner: "jest-runner",