Skip to content
This repository has been archived by the owner on Mar 1, 2021. It is now read-only.

Commit

Permalink
Make sure we test all them functions too!
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack Williams committed Jun 17, 2016
1 parent d250647 commit cf93aa5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/lib/up.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ describe('microboot/lib/up', function () {
expect(callback).to.have.been.called
})

it('should succeed if passed valid phases but no callback', function () {
expect(up.bind(up, ['test/data/fake'])).to.not.throw()
})

it('should search for phases based on CWD', function () {
expect(up.bind(up, ['na'])).to.throw(process.cwd() + '/na')
})
Expand Down

0 comments on commit cf93aa5

Please sign in to comment.