app/javascript/spec/helpers/miq_formatters_helper.js
global.window ??= global;
window._ = require('lodash');
window.sprintf = require('sprintf-js').sprintf;
window.moment = require('moment');
require('moment-strftime');
require('moment-timezone');
window.numeral = require('numeral');
require('../../oldjs/miq_formatters.js');