Qualify CJS-only module imports

This commit is contained in:
Fedor Indutny
2025-09-19 13:05:51 -07:00
committed by GitHub
parent 140241b83f
commit 40eaf078cc
401 changed files with 1278 additions and 593 deletions

View File

@@ -5,8 +5,7 @@ import { assert } from 'chai';
import * as sinon from 'sinon';
import moment from 'moment';
import { HOUR, DAY } from '../../util/durations/index.js';
import { setupI18n } from '../../util/setupI18n.js';
import enMessages from '../../../_locales/en/messages.json';
import i18n from './i18n.js';
import {
formatDate,
@@ -36,8 +35,6 @@ describe('timestamp', () => {
});
}
const i18n = setupI18n('en', enMessages);
describe('formatDate', () => {
useFakeTimers();