From a69fdbfc166b9c89bef369a2310fd2ad20c7fbe1 Mon Sep 17 00:00:00 2001 From: Michael Shanks Date: Sun, 21 Jun 2020 21:26:53 +0100 Subject: [PATCH] cypress tests - run on windows --- packages/builder/cypress/setup.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/builder/cypress/setup.js b/packages/builder/cypress/setup.js index a6566237ce..4f20fec9ba 100644 --- a/packages/builder/cypress/setup.js +++ b/packages/builder/cypress/setup.js @@ -13,5 +13,8 @@ rimraf.sync(homedir) init({ dir: homedir, clientId: "cypress-test" }) .then(() => { + delete require.cache[require.resolve("../../server/src/environment")] run({ dir: homedir }) }) + +