From e9823babaf297fa7ef2dd68e951eba14fb2ecbbe Mon Sep 17 00:00:00 2001 From: Craig Mulligan Date: Tue, 26 Dec 2017 13:31:06 -0800 Subject: [PATCH] fix(tests): fix output path for ensureDB fn --- __tests__/index.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__tests__/index.test.js b/__tests__/index.test.js index cf010da..ede2fe7 100644 --- a/__tests__/index.test.js +++ b/__tests__/index.test.js @@ -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)