Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9c6ba9b

Browse files
committed
test(template): fix unpatched Promise spec
1 parent c18c870 commit 9c6ba9b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libs/template/push/src/lib/tests/push.pipe.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ describe('RxPush used as pipe in the template', () => {
219219
wrapWithSpace('undefined')
220220
);
221221
await unpatchedPromise.resolve();
222+
await fixturePushPipeTestComponent.whenStable();
222223
expect(cdSpy).toBeCalledTimes(1);
223224
expect(componentNativeElement.textContent).toBe(wrapWithSpace('44'));
224225
});

0 commit comments

Comments
 (0)