Skip to content

Commit

Permalink
findRoot: Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
RaeesBhatti committed Apr 18, 2020
1 parent 2529914 commit 7fb610b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/find-root/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ test('Find root with no indicators', t => {
const tmp = tempy.directory()
const subPath = path.join(tmp, 'some', 'sub', 'dir')
mkdirp.sync(subPath)
t.is(findRoot(subPath), subPath, 'CWD if no indicators are located')
t.is(findRoot(subPath, { rootIndicators: ['.non-existent'] }), subPath, 'CWD if no indicators are located')
})

0 comments on commit 7fb610b

Please sign in to comment.