mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-01-12 22:45:52 +08:00
fix(testabilityPatch): fix invocations of angular.mock.dump
This commit is contained in:
committed by
Carlo s A. Guillen
parent
1d69015e3d
commit
b586bfdfab
@@ -248,13 +248,13 @@ function isCssVisible(node) {
|
||||
|
||||
function assertHidden(node) {
|
||||
if (isCssVisible(node)) {
|
||||
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));
|
||||
}
|
||||
}
|
||||
|
||||
function assertVisible(node) {
|
||||
if (!isCssVisible(node)) {
|
||||
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));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user