Support loading HTML fixtures in Jest
Some tests require HTML fixtures to be loaded—mainly those that are not Vue single file components. See for example https://gitlab.com/gitlab-org/gitlab-ce/blob/deca66884ac3bd77e4adbf50213dc6835285350d/spec/javascripts/issue_spec.js#L12-14. We need a way to load them in Jest.
As part of the Jest proof of concept, I already wrote a helper for that: https://gitlab.com/gitlab-org/gitlab-ce/blob/a6744b516197ace895d51bc84e3827bc9a3ea021/spec/frontend/helpers/fixtures.js
(we don't need the JSON part though, see https://gitlab.com/gitlab-org/gitlab-ce/issues/57995)
Edited by Inactive Account