test(change_detection): add an integration test verifying that binding propagation config works
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user