Skip to content

Commit

Permalink
delete old test db if it exists
Browse files Browse the repository at this point in the history
  • Loading branch information
joehand committed Jan 4, 2017
1 parent c22de6f commit abd9bc6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/helpers/auth-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ function createServer (port, cb) {
whitelist: false,
port: port || 8888
}
rimraf.sync(config.db.connection.filename)

initDb(config.db, function (err, db) {
if (err) return cb(err)
Expand Down

0 comments on commit abd9bc6

Please sign in to comment.