mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-24 10:28:03 +01:00
Qualify CJS-only module imports
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user