DEV: prevents Pretender Object to leak between tests (#7726)

This commit is contained in:
Joffrey JAFFEUX 2019-06-07 11:27:54 +02:00 committed by GitHub
parent d1228f47bb
commit fce34aa799
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -155,6 +155,8 @@ QUnit.testDone(function() {
server.shutdown();
window.server = null;
// ensures any event not removed is not leaking between tests
// most likely in intialisers, other places (controller, component...)
// should be fixed in code