Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 4f797fe

Browse files
committed
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).
1 parent bbd3a3f commit 4f797fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/testabilityPatch.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ afterEach(function() {
5454
});
5555
});
5656
if (count) {
57-
fail('Found jqCache references that were not deallocated!');
57+
throw new Error('Found jqCache references that were not deallocated!');
5858
}
5959
});
6060

0 commit comments

Comments
 (0)