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 2bdac98 commit cddbb50Copy full SHA for cddbb50
projects/igniteui-angular/src/lib/test-utils/configure-suite.ts
@@ -26,7 +26,14 @@ export const configureTestSuite = () => {
26
}
27
};
28
29
+ /** Clear the svg tags from the svgContainer created by the IconService
30
+ to avoid increasing their count to over 10000. */
31
+ const clearSVGContainer = () => {
32
+ document.querySelectorAll('svg').forEach((tag) => tag.remove());
33
+ };
34
+
35
afterEach(() => {
36
+ clearSVGContainer();
37
const testBedApi: any = getTestBed();
38
testBedApi._activeFixtures.forEach((fixture: ComponentFixture<any>) => {
39
try {
0 commit comments