1
0
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:
lana-k
2021-04-11 22:19:14 +02:00
parent b2d21cc859
commit 9ce1c27cf5
3 changed files with 8 additions and 9 deletions

View File

@@ -11,8 +11,8 @@ describe('csv.js', () => {
it('getResult with fields', () => {
const source = {
data: [
{id: 1, name: 'foo'},
{id: 2, name: 'bar'}
{ id: 1, name: 'foo' },
{ id: 2, name: 'bar' }
],
meta: {
fields: ['id', 'name']
@@ -65,11 +65,11 @@ describe('csv.js', () => {
row: 0
}
],
meta: {
meta: {
delimiter: ',',
linebreak: '\n',
aborted: false,
truncated: true
linebreak: '\n',
aborted: false,
truncated: true
}
})
})
@@ -87,7 +87,6 @@ describe('csv.js', () => {
hasErrors: true,
messages: [
{
type: 'Quotes',
code: 'MissingQuotes',
message: 'Quote is missed',
row: 0,
@@ -95,7 +94,6 @@ describe('csv.js', () => {
hint: 'Edit your CSV so that the field has a closing quote char.'
},
{
type: 'Delimiter',
code: 'UndetectableDelimiter',
message: 'Comma was used as a standart delimiter',
row: 0,

View File

@@ -1,4 +1,5 @@
import { expect } from 'chai'
import sinon from 'sinon'
import { mutations, actions } from '@/store'
const {
saveSchema,

View File

@@ -27,4 +27,4 @@ describe('time.js', () => {
expect(time.getPeriod(start, end)).to.equal('45 ms')
})
})
})