cypress tests - run on windows

This commit is contained in:
Michael Shanks 2020-06-21 21:26:53 +01:00
parent 0ff6cc75e7
commit 8acdda053d
1 changed files with 3 additions and 0 deletions

View File

@ -13,5 +13,8 @@ rimraf.sync(homedir)
init({ dir: homedir, clientId: "cypress-test" }) init({ dir: homedir, clientId: "cypress-test" })
.then(() => { .then(() => {
delete require.cache[require.resolve("../../server/src/environment")]
run({ dir: homedir }) run({ dir: homedir })
}) })