Add jest config and test environment to launch app

This commit is contained in:
TC
2020-05-01 18:33:43 +02:00
parent 736a706801
commit bce5b7d8eb
2 changed files with 52 additions and 0 deletions

7
jest.config.js Normal file
View File

@ -0,0 +1,7 @@
module.exports = {
globals: {
__APP__: undefined, // A different app will be launched in each test environment
},
testEnvironment: "./tests/environment",
testTimeout: 30000, // 30s
};