diff --git a/test/src/setup.js b/test/src/setup.js index e1576d48..9cb75bc5 100644 --- a/test/src/setup.js +++ b/test/src/setup.js @@ -1,4 +1,8 @@ -require("dotenv").config({ path: ".env.test" }); +const fs = require("fs"); + +require("dotenv").config({ + path: fs.existsSync(".env.test.local") ? ".env.test.local" : ".env.test", +}); // For GoldenLayout. window.$ = require("jquery");