mirror of
https://github.com/lana-k/sqliteviz.git
synced 2025-12-06 18:18:53 +08:00
fix lint errors
This commit is contained in:
@@ -2,7 +2,7 @@ import { expect } from 'chai'
|
|||||||
import sinon from 'sinon'
|
import sinon from 'sinon'
|
||||||
import { mount, shallowMount } from '@vue/test-utils'
|
import { mount, shallowMount } from '@vue/test-utils'
|
||||||
import Chart from '@/components/Chart.vue'
|
import Chart from '@/components/Chart.vue'
|
||||||
import chart from '@/chart.js'
|
import chart from '@/chart.js'
|
||||||
import * as dereference from 'react-chart-editor/lib/lib/dereference'
|
import * as dereference from 'react-chart-editor/lib/lib/dereference'
|
||||||
|
|
||||||
describe('Chart.vue', () => {
|
describe('Chart.vue', () => {
|
||||||
@@ -62,7 +62,7 @@ describe('Chart.vue', () => {
|
|||||||
values: [[2, 'bar']]
|
values: [[2, 'bar']]
|
||||||
}
|
}
|
||||||
|
|
||||||
await wrapper.setProps({sqlResult: newSqlResult})
|
await wrapper.setProps({ sqlResult: newSqlResult })
|
||||||
expect(dereference.default.called).to.equal(true)
|
expect(dereference.default.called).to.equal(true)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user