Skip to content

Commit

Permalink
fix(tests): fix output path for ensureDB fn
Browse files Browse the repository at this point in the history
  • Loading branch information
craigmulligan committed Dec 26, 2017
1 parent ac1944c commit e9823ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __tests__/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ test('should accept n number prompts', done => {
})

test('should create db file if not found', done => {
const p = path.resolve('../__mock__/db-ensure.json')
const p = path.resolve('./__mocks__/db-ensure.json')
ensureDB(p)
.then(() => {
require(p)
Expand Down

0 comments on commit e9823ba

Please sign in to comment.