1
0
mirror of https://github.com/lana-k/sqliteviz.git synced 2026-02-04 15:38:55 +08:00

fix tests

This commit is contained in:
lana-k
2025-11-02 12:31:32 +01:00
parent 0a2af0bba3
commit d7db6a0f5d
2 changed files with 3 additions and 2 deletions

View File

@@ -187,7 +187,8 @@ describe('Chart.vue', () => {
const wrapper = mount(Chart, { const wrapper = mount(Chart, {
attachTo: document.body, attachTo: document.body,
props: { props: {
dataSources dataSources,
showViewSettings: true
}, },
global: { global: {
mocks: { $store } mocks: { $store }

View File

@@ -15,7 +15,7 @@ describe('DataView.vue', () => {
it('emits update on mode changing', async () => { it('emits update on mode changing', async () => {
const wrapper = mount(DataView, { const wrapper = mount(DataView, {
global: { global: {
stubs: { chart: true } mocks: { $store }
} }
}) })