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:
@@ -187,7 +187,8 @@ describe('Chart.vue', () => {
|
||||
const wrapper = mount(Chart, {
|
||||
attachTo: document.body,
|
||||
props: {
|
||||
dataSources
|
||||
dataSources,
|
||||
showViewSettings: true
|
||||
},
|
||||
global: {
|
||||
mocks: { $store }
|
||||
|
||||
@@ -15,7 +15,7 @@ describe('DataView.vue', () => {
|
||||
it('emits update on mode changing', async () => {
|
||||
const wrapper = mount(DataView, {
|
||||
global: {
|
||||
stubs: { chart: true }
|
||||
mocks: { $store }
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user