This commit is contained in:
Henry Jameson 2026-07-21 18:25:56 +03:00
commit 2871326c35
9 changed files with 79 additions and 46 deletions

View file

@ -1,7 +1,7 @@
import { createTestingPinia } from '@pinia/testing'
import { shallowMount } from '@vue/test-utils'
import { setActivePinia } from 'pinia'
import { createTestingPinia } from '@pinia/testing'
import { HttpResponse, http } from 'msw'
import ChatView from './chat_view.vue'
const message1 = {
@ -32,7 +32,7 @@ const global = {
$store: {
state: {
api: {},
users: {}
users: {},
},
},
$route: {
@ -41,8 +41,10 @@ const global = {
},
},
$router: {
push: () => {}
}
push: () => {
/* noop */
},
},
},
stubs: {
FAIcon: true,