mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +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) {
|
||||
fail('Found jqCache references that were not deallocated!');
|
||||
throw new Error('Found jqCache references that were not deallocated!');
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue