cypress tests - run on windows

This commit is contained in:
Michael Shanks 2020-06-21 21:26:53 +01:00
parent c88f4d2541
commit a69fdbfc16
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 })
}) })