mirror of
https://github.com/lana-k/sqliteviz.git
synced 2025-12-07 02:28:54 +08:00
update tests
This commit is contained in:
@@ -23,7 +23,7 @@ describe('SqlEditor.vue', () => {
|
||||
}
|
||||
const store = new Vuex.Store({ state })
|
||||
|
||||
const wrapper = mount(SqlEditor, { store, propsData: { isGettingResults: false } })
|
||||
const wrapper = mount(SqlEditor, { store, props: { isGettingResults: false } })
|
||||
await wrapper.findComponent({ name: 'codemirror' }).vm.$emit('input', 'SELECT * FROM foo')
|
||||
const runButton = wrapper.findComponent({ name: 'RunIcon' }).vm.$parent
|
||||
|
||||
|
||||
Reference in New Issue
Block a user