From 23676fb33208a6366f771dbc1a59c503293a42af Mon Sep 17 00:00:00 2001 From: Devin Fee Date: Fri, 21 Dec 2018 01:02:30 -0800 Subject: [PATCH] moved __mocks__ down into src --- jest.config.js | 2 +- {__mocks__ => src/__mocks__}/style.ts | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename {__mocks__ => src/__mocks__}/style.ts (100%) diff --git a/jest.config.js b/jest.config.js index c3b450af..210f8760 100644 --- a/jest.config.js +++ b/jest.config.js @@ -18,7 +18,7 @@ module.exports = { moduleDirectories: ["node_modules", ""], moduleFileExtensions: ["ts", "tsx", "js", "jsx"], moduleNameMapper: { - "\\.(css|less|s(c|a)ss)$": "/../__mocks__/style.ts", + "\\.(css|less|s(c|a)ss)$": "/../src/__mocks__/style.ts", "@/(.*)": "/$1" }, rootDir: "src", diff --git a/__mocks__/style.ts b/src/__mocks__/style.ts similarity index 100% rename from __mocks__/style.ts rename to src/__mocks__/style.ts