1
0
mirror of https://github.com/lana-k/sqliteviz.git synced 2025-12-07 10:38:54 +08:00

lint fixes

This commit is contained in:
lana-k
2021-02-11 16:48:37 +01:00
parent 840f4fa450
commit f6c7c9283e
4 changed files with 83 additions and 83 deletions

View File

@@ -3,9 +3,9 @@ import { mount } from '@vue/test-utils'
import SqlEditor from '@/components/SqlEditor.vue'
describe('SqlEditor.vue', () => {
it('Emits input event when a query is changed', async() => {
it('Emits input event when a query is changed', async () => {
const wrapper = mount(SqlEditor)
await wrapper.findComponent({ name: 'codemirror'}).vm.$emit('input', 'SELECT * FROM foo')
await wrapper.findComponent({ name: 'codemirror' }).vm.$emit('input', 'SELECT * FROM foo')
expect(wrapper.emitted('input')[0]).to.eql(['SELECT * FROM foo'])
})
})