Qualify CJS-only module imports
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
parent
3f839434b2
commit
acbe5d0735
401 changed files with 1278 additions and 593 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue