Make sure that we clear localstorage before *all* tests
This was causing flaky tests, as sometimes the joining test would inherit an "mx_is_guest" setting from a previous test run.
This commit is contained in:
parent
ab93e96a1f
commit
244265d52b
2 changed files with 4 additions and 2 deletions
|
@ -59,8 +59,6 @@ describe('loading:', function () {
|
|||
|
||||
windowLocation = null;
|
||||
matrixChat = null;
|
||||
|
||||
window.localStorage.clear();
|
||||
});
|
||||
|
||||
afterEach(function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue