mirror of
https://github.com/lana-k/sqliteviz.git
synced 2025-12-07 02:28:54 +08:00
fix lint errors
This commit is contained in:
@@ -2,7 +2,6 @@ import { expect } from 'chai'
|
|||||||
import { shallowMount } from '@vue/test-utils'
|
import { shallowMount } from '@vue/test-utils'
|
||||||
import LoadingIndicator from '@/components/LoadingIndicator.vue'
|
import LoadingIndicator from '@/components/LoadingIndicator.vue'
|
||||||
|
|
||||||
let place
|
|
||||||
describe('LoadingIndicator.vue', () => {
|
describe('LoadingIndicator.vue', () => {
|
||||||
it('Calculates animation class', async () => {
|
it('Calculates animation class', async () => {
|
||||||
const wrapper = shallowMount(LoadingIndicator, {
|
const wrapper = shallowMount(LoadingIndicator, {
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ describe('fileUtils.js', () => {
|
|||||||
it('readAsArrayBuffer rejects', async () => {
|
it('readAsArrayBuffer rejects', async () => {
|
||||||
const r = new FileReader()
|
const r = new FileReader()
|
||||||
r.readAsArrayBuffer = () => {
|
r.readAsArrayBuffer = () => {
|
||||||
r.dispatchEvent(new Event('error'), )
|
r.dispatchEvent(new Event('error'))
|
||||||
}
|
}
|
||||||
sinon.stub(window, 'FileReader').returns(r)
|
sinon.stub(window, 'FileReader').returns(r)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user