1
0
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:
lana-k
2021-08-10 23:36:16 +02:00
parent 9f32323a80
commit 4213e9df5c
4 changed files with 6 additions and 6 deletions

View File

@@ -58,7 +58,7 @@ describe('CsvImport.vue', () => {
sinon.stub(csv, 'parse').resolves({
delimiter: '|',
data: {
columns: ['col2', 'col1' ],
columns: ['col2', 'col1'],
values: {
col1: [1, 2],
col2: ['foo', 'bar']
@@ -212,7 +212,7 @@ describe('CsvImport.vue', () => {
expect(rows).to.have.lengthOf(1)
expect(rows.at(0).findAll('td').at(0).text()).to.equal('corge')
expect(rows.at(0).findAll('td').at(1).text()).to.equal('5')
expect(wrapper.findComponent({ name: 'logs' }).text())
.to.include('Preview parsing is completed in')
})

View File

@@ -35,7 +35,7 @@ describe('_sql.js', () => {
const result = sql.exec('SELECT * from test')
expect(result).to.have.lengthOf(1)
expect(result[0]).to.eql({
columns: ['id', 'name','faculty'],
columns: ['id', 'name', 'faculty'],
values: {
id: [1, 2],
name: ['Harry Potter', 'Draco Malfoy'],

View File

@@ -116,7 +116,7 @@ describe('database.js', () => {
it('adds table from csv', async () => {
const data = {
columns: ['id', 'name','faculty'],
columns: ['id', 'name', 'faculty'],
values: {
id: [1, 2],
name: ['Harry Potter', 'Draco Malfoy'],