From de826c19fa7bc0d79906392f8fd2ca58e99ebe69 Mon Sep 17 00:00:00 2001 From: Victor Baranov Date: Thu, 20 Dec 2018 14:05:25 +0300 Subject: [PATCH] fix package.json --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 533f177..2813857 100644 --- a/package.json +++ b/package.json @@ -94,15 +94,15 @@ "testEnvironment": "node", "testURL": "http://localhost", "transform": { - ".+\\.(js|jsx|mjs)$": "/node_modules/babel-jest", - ".+\\.css$": "/config/jest/cssTransform.js", - "(?!.*\\.(js|jsx|mjs|css|json)$)": "/config/jest/fileTransform.js" + "^.+\\.(js|jsx|mjs)$": "/node_modules/babel-jest", + "^.+\\.css$": "/config/jest/cssTransform.js", + "^(?!.*\\.(js|jsx|mjs|css|json)$)": "/config/jest/fileTransform.js" }, "transformIgnorePatterns": [ "[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs)$" ], "moduleNameMapper": { - "react-native$": "react-native-web" + "^react-native$": "react-native-web" }, "moduleFileExtensions": [ "web.js",