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

Commit 5e944a1

Browse files
mgolCarlo s A. Guillen
authored and
Carlo s A. Guillen
committed
fix(testabilityPatch): fix invocations of angular.mock.dump
1 parent ba62e97 commit 5e944a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/helpers/testabilityPatch.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -248,13 +248,13 @@ function isCssVisible(node) {
248248

249249
function assertHidden(node) {
250250
if (isCssVisible(node)) {
251-
throw new Error('Node should be hidden but was visible: ' + angular.module.ngMock.dump(node));
251+
throw new Error('Node should be hidden but was visible: ' + angular.mock.dump(node));
252252
}
253253
}
254254

255255
function assertVisible(node) {
256256
if (!isCssVisible(node)) {
257-
throw new Error('Node should be visible but was hidden: ' + angular.module.ngMock.dump(node));
257+
throw new Error('Node should be visible but was hidden: ' + angular.mock.dump(node));
258258
}
259259
}
260260

0 commit comments

Comments
 (0)