fix: about page build
This commit is contained in:
@@ -27,7 +27,7 @@ title: 关于
|
||||
|
||||
本页面为网页版本,小程序版本请在微信搜索「来做菜」。
|
||||
|
||||

|
||||

|
||||
|
||||
## **致谢**
|
||||
|
||||
|
||||
@@ -1,22 +1,22 @@
|
||||
// import { mount } from '@vue/test-utils'
|
||||
// import { describe, expect, it, vi } from 'vitest'
|
||||
import { describe } from 'vitest'
|
||||
import { describe, it } from 'vitest'
|
||||
// import { createTestingPinia } from '@pinia/testing'
|
||||
// import ChooseFood from '../src/components/ChooseFood.vue'
|
||||
// import { useRecipeStore } from '~/stores/recipe'
|
||||
|
||||
describe('ChooseFood.vue', () => {
|
||||
// it('should render', async () => {
|
||||
// const pinia = createTestingPinia({
|
||||
// createSpy: vi.fn,
|
||||
// })
|
||||
// const wrapper = mount(ChooseFood, {
|
||||
// global: {
|
||||
// plugins: [
|
||||
// pinia,
|
||||
// ],
|
||||
// },
|
||||
// })
|
||||
it('should render', async () => {
|
||||
// const pinia = createTestingPinia({
|
||||
// createSpy: vi.fn,
|
||||
// })
|
||||
// const wrapper = mount(ChooseFood, {
|
||||
// global: {
|
||||
// plugins: [
|
||||
// pinia,
|
||||
// ],
|
||||
// },
|
||||
// })
|
||||
|
||||
// const rStore = useRecipeStore()
|
||||
|
||||
@@ -39,7 +39,7 @@ describe('ChooseFood.vue', () => {
|
||||
// const result = tag.text().includes('🥒') || tag.text().includes('🍲')
|
||||
// expect(result).toBe(true)
|
||||
// })
|
||||
// })
|
||||
})
|
||||
|
||||
// it('should be interactive', async () => {
|
||||
// // const wrapper = mount(ChooseFood)
|
||||
|
||||
Reference in New Issue
Block a user