Initial commit

This commit is contained in:
2024-03-05 11:36:21 +03:00
commit bf2f060b94
212 changed files with 100448 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
import { mount } from '@vue/test-utils'
import { expect, test, describe } from 'vitest'
import PageHeader from "@atoms/PageHeader.vue"
import { createStore } from 'vuex'
import {store as proxy} from '@/store/modules/proxy';
describe("tests PageHeader with vuex", () => {
const store = createStore({
plugins: [],
modules: {
proxy
},
})
test('tests PageHeader with vuex', async () => {
const wrapper = mount(PageHeader, {
global: {
plugins: [store]
}
})
expect(wrapper.text()).toContain('На главную')
})
})