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 mockData from './mockData/InformationAggregation'
import ElementPlus from 'element-plus'
import common from '@/mixins/common'
import chartMixin from '@/views/charts2/chart-mixin'
let wrapper = null
const mockGet = mockData.common
@@ -35,7 +37,8 @@ function axiosPostAndMounted (data) {
propsData: {
entity,
timeFilter
}
},
mixins: [common, chartMixin]
})
}