We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8973c4 commit 28c4110Copy full SHA for 28c4110
libs/core/src/lib/directives/args.spec.ts
@@ -38,8 +38,8 @@ describe('args', () => {
38
39
expect(fixture.debugElement.queryAll(By.css('div')).length).toEqual(1);
40
const args = fixture.componentInstance.args();
41
- expect(args!.value).toEqual([1, 2, 3]);
42
- expect(args!.value).toEqual(null);
+ expect(args?.value).toEqual([1, 2, 3]);
+ expect(args?.value).toEqual(null);
43
});
44
45
0 commit comments