Skip to content

Commit 943176e

Browse files
authored
Merge pull request #1842 from rx-angular/drop-detecting-changes-twice
test(state): drop detecting changes twice
2 parents bd12169 + aff02eb commit 943176e

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

libs/state/spec/rx-state.spec.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,6 @@ describe(rxState, () => {
181181
);
182182
const state = component.state;
183183

184-
fixture.detectChanges();
185-
// TODO @edbzn: Remove detecting changes twice when we have a better solution
186184
fixture.detectChanges();
187185

188186
expect(state.get('count')).toBe(1337);
@@ -208,8 +206,6 @@ describe(rxState, () => {
208206
);
209207
const state = component.state;
210208

211-
fixture.detectChanges();
212-
// TODO @edbzn: Remove detecting changes twice when we have a better solution
213209
fixture.detectChanges();
214210

215211
expect(state.get('count')).toBe(4);
@@ -233,8 +229,6 @@ describe(rxState, () => {
233229
);
234230
const state = component.state;
235231

236-
fixture.detectChanges();
237-
// TODO @edbzn: Remove detecting changes twice when we have a better solution
238232
fixture.detectChanges();
239233

240234
expect(state.get('count')).toBe(1337);

0 commit comments

Comments
 (0)