Skip to content

Commit 3c91236

Browse files
committed
chore(testing): remove the default ionic bundle for the ionic theme
1 parent a5a7bee commit 3c91236

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

core/scripts/testing/scripts.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@
4747
linkTag.setAttribute('href', '/css/ionic/bundle.ionic.css');
4848
document.head.appendChild(linkTag);
4949
}
50+
51+
const defaultThemeLinkTag = document.querySelector('link[href*="css/ionic.bundle.css"]');
52+
if (defaultThemeLinkTag) {
53+
defaultThemeLinkTag.remove();
54+
}
5055
}
5156

5257
window.Ionic = window.Ionic || {};

0 commit comments

Comments
 (0)