mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-03 21:40:28 -05:00
26e5f31b15
* chore: only inject when html is going to be rendered AND if a content-type exists, make sure it contains html (which is valid for xhtml and other mime types) * rename isHTML is isNotJavascript to be a bit more accurate * chore: remove isNotJavascript function for restContentTypeIsJavascript for experimental ast rewriter