We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d78fff commit 20a5509Copy full SHA for 20a5509
packages/angular_devkit/build_angular/src/builders/browser/specs/svg_spec.ts
@@ -57,7 +57,11 @@ describe('Browser Builder allow svg', () => {
57
host.scopedSync().read(join(outputPath, 'main.js')),
58
);
59
60
- expect(content).toContain('ɵɵnamespaceSVG');
+ // Verify that the svg contents are present in the main bundle,
61
+ // e.g. as template instructions.
62
+ expect(content).toContain('Hello World');
63
+
64
+ // Verify that the svg contents are *not* present as a separate file.
65
expect(host.scopedSync().exists(normalize('dist/app.component.svg'))).toBe(
66
false,
67
'should not copy app.component.svg to dist',
0 commit comments