Skip to content

Commit 6d48b78

Browse files
alan-agius4clydin
andauthored
fixup! fix(@angular/build): emit error for invalid self-closing element in i… …ndex HTML
Co-authored-by: Charles <19598772+clydin@users.noreply.github.com>
1 parent 73600f2 commit 6d48b78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/angular/build/src/utils/index-file/augment-index-html_spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ describe('augment-index-html', () => {
518518
expect(errors).toEqual([`Invalid self-closing element in index HTML file: '<app-root />'.`]);
519519
});
520520

521-
it('should not return an error when used on a not supported element', async () => {
521+
it('should not return an error when used on a supported element', async () => {
522522
const { errors } = await augmentIndexHtml({
523523
...indexGeneratorOptions,
524524
html: `

0 commit comments

Comments
 (0)