Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/store/participantsStore.spec.js')
-rw-r--r--src/store/participantsStore.spec.js11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/store/participantsStore.spec.js b/src/store/participantsStore.spec.js
index 3fb567db6..94108a2c8 100644
--- a/src/store/participantsStore.spec.js
+++ b/src/store/participantsStore.spec.js
@@ -1,8 +1,9 @@
+/* eslint-disable import/no-named-as-default-member */
import mockConsole from 'jest-mock-console'
import { createLocalVue } from '@vue/test-utils'
import Vuex from 'vuex'
import { cloneDeep } from 'lodash'
-import { PARTICIPANT } from '../constants'
+import { PARTICIPANT } from '../constants.js'
import {
promoteToModerator,
demoteFromModerator,
@@ -13,14 +14,14 @@ import {
removeCurrentUserFromConversation,
grantAllPermissionsToParticipant,
removeAllPermissionsFromParticipant,
-} from '../services/participantsService'
+} from '../services/participantsService.js'
import {
joinCall,
leaveCall,
-} from '../services/callsService'
-import { EventBus } from '../services/EventBus'
+} from '../services/callsService.js'
+import { EventBus } from '../services/EventBus.js'
-import participantsStore from './participantsStore'
+import participantsStore from './participantsStore.js'
jest.mock('../services/participantsService', () => ({
promoteToModerator: jest.fn(),