improving cleanup between tests in order to combat the frequent test failures seen recently

This commit is contained in:
El RIDO 2018-12-25 20:16:41 +01:00
parent 0ab06e34ec
commit 210870590c
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92
3 changed files with 14 additions and 5 deletions

View file

@ -6,7 +6,7 @@ describe('UiHelper', function () {
// for now we use a mock function to trigger the event
describe('historyChange', function () {
this.timeout(30000);
before(function () {
beforeEach(function () {
$.PrivateBin.Helper.reset();
cleanup();
});