mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-13 17:23:11 +00:00
refactor(testabilityPatch): Change JSTD fail to more general throw
"fail" is a JSTD specific API, so it's not defined when testing without JSTD (eg SlimJim).
This commit is contained in:
parent
bbd3a3fd76
commit
4f797fe5f3
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ afterEach(function() {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
if (count) {
|
if (count) {
|
||||||
fail('Found jqCache references that were not deallocated!');
|
throw new Error('Found jqCache references that were not deallocated!');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue