Qualify CJS-only module imports
This commit is contained in:
parent
140241b83f
commit
40eaf078cc
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