mirror of
https://github.com/lana-k/sqliteviz.git
synced 2025-12-07 18:48:55 +08:00
update tests
This commit is contained in:
@@ -37,7 +37,7 @@ describe('Chart.vue', () => {
|
||||
|
||||
// mount the component
|
||||
const wrapper = shallowMount(Chart, {
|
||||
propsData: { dataSources }
|
||||
props: { dataSources }
|
||||
})
|
||||
|
||||
const newDataSources = {
|
||||
@@ -58,7 +58,7 @@ describe('Chart.vue', () => {
|
||||
|
||||
// mount the component
|
||||
const wrapper = shallowMount(Chart, {
|
||||
propsData: { dataSources }
|
||||
props: { dataSources }
|
||||
})
|
||||
|
||||
await wrapper.setProps({ dataSources: null })
|
||||
@@ -73,7 +73,7 @@ describe('Chart.vue', () => {
|
||||
}
|
||||
|
||||
const wrapper = mount(Chart, {
|
||||
propsData: { dataSources }
|
||||
props: { dataSources }
|
||||
})
|
||||
sinon.spy(wrapper.vm, 'prepareCopy')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user