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:
@@ -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'],
|
||||
|
||||
@@ -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'],
|
||||
|
||||
Reference in New Issue
Block a user