From 818bb9b697bcc97ba16192a06272ee2151b10f26 Mon Sep 17 00:00:00 2001 From: vsavkin Date: Thu, 23 Apr 2015 17:20:45 -0700 Subject: [PATCH] test: changed test bed to run change detection twice to make sure there are no changes second time Closes #1517 --- modules/angular2/src/test_lib/test_bed.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/angular2/src/test_lib/test_bed.js b/modules/angular2/src/test_lib/test_bed.js index 398e3ddcf3..067dc8af1e 100644 --- a/modules/angular2/src/test_lib/test_bed.js +++ b/modules/angular2/src/test_lib/test_bed.js @@ -116,6 +116,7 @@ export class ViewProxy { detectChanges(): void { this._view.changeDetector.detectChanges(); + this._view.changeDetector.checkNoChanges(); } querySelector(selector) {