mirror of
https://github.com/lana-k/sqliteviz.git
synced 2025-12-06 10:08:52 +08:00
add coverage to gitignore
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,6 +1,7 @@
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
node_modules
|
node_modules
|
||||||
/dist
|
/dist
|
||||||
|
/coverage
|
||||||
|
|
||||||
# local env files
|
# local env files
|
||||||
.env.local
|
.env.local
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ describe('dataBase.js', () => {
|
|||||||
return initSqlJs(config)
|
return initSqlJs(config)
|
||||||
.then(SQL => {
|
.then(SQL => {
|
||||||
const dataBase = new SQL.Database()
|
const dataBase = new SQL.Database()
|
||||||
dataBase.run("CREATE TABLE test (col1, col2);")
|
dataBase.run('CREATE TABLE test (col1, col2);')
|
||||||
|
|
||||||
const data = dataBase.export()
|
const data = dataBase.export()
|
||||||
const buffer = new Blob([data])
|
const buffer = new Blob([data])
|
||||||
Reference in New Issue
Block a user