1
0
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:
lana-k
2025-01-05 17:13:55 +01:00
parent eee67763b5
commit e14696b59e
26 changed files with 523 additions and 409 deletions

View File

@@ -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')