Skip to content

Update jest raw loader regex

Peter Hegman requested to merge update-jest-raw-loader-regex into master

What does this MR do and why?

Follow-up from !116427 (merged)

In &10244 (closed) we are Replace loadHTMLFixture with static imports. Currently html files in spec/frontend/fixtures/static aren't supported by our jest config so those ones can't be updated. This MR updates the jest config to support html files in spec/frontend/fixtures/static.

How to set up and validate locally

Run yarn jest spec/frontend/blob/sketch/index_spec.js. It should pass.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Peter Hegman

Merge request reports

Loading