Skip to content

Commit 5976331

Browse files
committed
added cleanup on test
1 parent 7d2f11c commit 5976331

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

specs/BreinifyUtil-spec.js

+3
Original file line numberDiff line numberDiff line change
@@ -329,11 +329,14 @@ describe('BreinifyUtil', function () {
329329
'values': []
330330
}
331331
}, function (error, result) {
332+
332333
expect(result).toEqual({
333334
'loaded': ['products', 'awards'],
334335
'failed': []
335336
});
336337

338+
// clear the storage to make sure the test did not keep any data
339+
Breinify.UTL.storage.instance.clear();
337340
done();
338341
});
339342
});

0 commit comments

Comments
 (0)