Qualify CJS-only module imports

Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
automated-signal 2025-09-19 23:25:57 -05:00 committed by GitHub
commit acbe5d0735
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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();