fix: 修复测试用例等

This commit is contained in:
chenjinsong
2023-08-25 11:43:46 +08:00
parent f4ba0040ea
commit 72fdb13295
7 changed files with 45 additions and 25 deletions

View File

@@ -3,6 +3,8 @@ import { mount } from '@vue/test-utils'
import axios from 'axios'
import ElementPlus from 'element-plus'
import { mockData } from './mockData/NpmAppEventByTable'
import common from '@/mixins/common'
import chartMixin from '@/views/charts2/chart-mixin'
let wrapper = null
const mockGet = mockData.common.data
@@ -30,7 +32,8 @@ function axiosPostAndMounted (data) {
},
propsData: {
timeFilter
}
},
mixins: [common, chartMixin]
})
}