Skip to content

Commit b586bfd

Browse files
mgolCarlo s A. Guillen
authored andcommitted
fix(testabilityPatch): fix invocations of angular.mock.dump
1 parent 1d69015 commit b586bfd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/helpers/testabilityPatch.js

Lines changed: 2 additions & 2 deletions
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)