Qualify CJS-only module imports

This commit is contained in:
Fedor Indutny 2025-09-19 13:05:51 -07:00 committed by GitHub
commit 40eaf078cc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
401 changed files with 1278 additions and 593 deletions

View file

@ -9,8 +9,7 @@ import {
CallType,
GroupCallStatus,
} from '../../types/CallDisposition.js';
import { setupI18n } from '../../util/setupI18n.js';
import enMessages from '../../../_locales/en/messages.json';
import i18n from './i18n.js';
import {
getDefaultConversation,
getDefaultGroup,
@ -19,8 +18,6 @@ import { getPeerIdFromConversation } from '../../util/callDisposition.js';
import { HOUR } from '../../util/durations/index.js';
describe('calling notification helpers', () => {
const i18n = setupI18n('en', enMessages);
describe('getCallingNotificationText', () => {
// Direct call behavior is not tested here.