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

@@ -3,8 +3,7 @@
import { assert } from 'chai';
import * as sinon from 'sinon';
import { setupI18n } from '../../util/setupI18n.js';
import enMessages from '../../../_locales/en/messages.json';
import i18n from './i18n.js';
import { getMuteOptions } from '../../util/getMuteOptions.js';
@@ -35,8 +34,6 @@ describe('getMuteOptions', () => {
},
];
const i18n = setupI18n('en', enMessages);
describe('when not muted', () => {
it('returns the 5 default options', () => {
assert.deepStrictEqual(