Skip to content

Commit e8e0750

Browse files
committed
fix(testabilityPatch): fix invocations of angular.mock.dump
1 parent ea820b5 commit e8e0750

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/helpers/testabilityPatch.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,13 +249,13 @@ function isCssVisible(node) {
249249

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

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

0 commit comments

Comments
 (0)