Skip to content

Commit 818bb9b

Browse files
vsavkinmhevery
authored andcommitted
test: changed test bed to run change detection twice to make sure there are no changes second time
Closes angular#1517
1 parent e458624 commit 818bb9b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/angular2/src/test_lib/test_bed.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ export class ViewProxy {
116116

117117
detectChanges(): void {
118118
this._view.changeDetector.detectChanges();
119+
this._view.changeDetector.checkNoChanges();
119120
}
120121

121122
querySelector(selector) {

0 commit comments

Comments
 (0)