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 0c3b0df commit 890052cCopy full SHA for 890052c
src/lib/dialog/dialog.spec.ts
@@ -667,8 +667,8 @@ describe('MdDialog', () => {
667
}));
668
669
it('should set the aria-labelled by attribute to the id of the title', async(() => {
670
- let title = overlayContainerElement.querySelector('[md-dialog-title]');
671
- let container = overlayContainerElement.querySelector('md-dialog-container');
+ let title = overlayContainerElement.querySelector('[md-dialog-title]')!;
+ let container = overlayContainerElement.querySelector('md-dialog-container')!;
672
673
viewContainerFixture.whenStable().then(() => {
674
expect(title.id).toBeTruthy('Expected title element to have an id.');
0 commit comments