Created
September 8, 2020 12:05
-
-
Save djagya/05ac9a800341e8ca7cfd2b81837a3aa5 to your computer and use it in GitHub Desktop.
Revisions
-
Danil Zakablukovskii created this gist
Sep 8, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ const {createJestConfig} = require('tsdx/dist/createJestConfig'); const {paths} = require('tsdx/dist/constants'); process.env.BABEL_ENV = 'test'; process.env.NODE_ENV = 'test'; const config = createJestConfig(undefined, paths.appRoot); // For absolute imports config.modulePaths = ["<rootDir>/src"]; module.exports = config;