We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba62e97 commit 5e944a1Copy full SHA for 5e944a1
test/helpers/testabilityPatch.js
@@ -248,13 +248,13 @@ function isCssVisible(node) {
248
249
function assertHidden(node) {
250
if (isCssVisible(node)) {
251
- throw new Error('Node should be hidden but was visible: ' + angular.module.ngMock.dump(node));
+ throw new Error('Node should be hidden but was visible: ' + angular.mock.dump(node));
252
}
253
254
255
function assertVisible(node) {
256
if (!isCssVisible(node)) {
257
- throw new Error('Node should be visible but was hidden: ' + angular.module.ngMock.dump(node));
+ throw new Error('Node should be visible but was hidden: ' + angular.mock.dump(node));
258
259
260
0 commit comments