test(change_detection): add an integration test verifying that binding propagation config works

This commit is contained in:
vsavkin
2015-02-11 16:28:10 -08:00
parent 234e1eccca
commit 91fd5a69bf
5 changed files with 59 additions and 11 deletions

View File

@ -535,7 +535,7 @@ export function main() {
var checkOnceChild = changeDetector(CHECK_ONCE, checkAlwaysChild);
var checkedChild = changeDetector(CHECKED, checkOnceChild);
ChangeDetectionUtil.markPathToRootAsCheckOnce(checkedChild);
checkedChild.markPathToRootAsCheckOnce();
expect(root.mode).toEqual(CHECK_ALWAYS);
expect(disabled.mode).toEqual(DETACHED);