test: fix tests again

isekai-main
Barış Soner Uşaklı 3 years ago
parent 6677efd7b5
commit 191fb9f443

@ -5,7 +5,7 @@
const $ = require('jquery');
const zxcvbn = require('zxcvbn');
const utils = require('./utils.common');
const utils = { ...require('./utils.common') };
utils.getLanguage = function () {
let lang = 'en-GB';

@ -10,7 +10,7 @@ process.elapsedTimeSince = function (start) {
const diff = process.hrtime(start);
return (diff[0] * 1e3) + (diff[1] / 1e6);
};
const utils = require('../public/src/utils.common');
const utils = { ...require('../public/src/utils.common') };
utils.getLanguage = function () {
const meta = require('./meta');

Loading…
Cancel
Save