Web Test Runner: Preventing loading of script tags #2399
Unanswered
chrischrischris
asked this question in
Q&A
Replies: 1 comment 1 reply
-
You could transform the index.html in a middleware and take the script out there |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All - First off thanks for making/maintaining a great test framework!
I can't figure out how to stop <script> tags from loading that are injected onto the page. Using middleware and/or import maps I can change the files imported by modules but nothing seems to stop script tags from loading.
We have a lot of external dependencies and so what's happening is on every test they are loaded. I'm trying to get our tests to not load anything other than from localhost.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions