Files
Jonatan Klemets f9986599ac Bug 1966620 - Update EnsureMIMEOfScript and WarnWrongMIMEOfScript to handle TYPE_JSON r=necko-reviewers,devtools-reviewers,tschuster,nchevobbe,kershaw
This code broke when TYPE_JSON was added in bug 1858078 because it
lacked test coverage. This patch fixes the code and adds tests to make
sure we don't break it again.

Differential Revision: https://phabricator.services.mozilla.com/D257112
2025-07-29 15:40:51 +00:00

3 lines
127 B
JavaScript

// eslint-disable-next-line no-unused-vars,import/no-unresolved
import * as _ from "./test-js-mime.mjs" with { type: "json" };