Skip to content
This repository has been archived by the owner on Sep 18, 2017. It is now read-only.

Commit

Permalink
test: scopes with "/"
Browse files Browse the repository at this point in the history
test for #7
  • Loading branch information
gr2m committed Nov 24, 2015
1 parent 1821a51 commit 4dd4842
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions test/specs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,19 @@ test('derive version number from commits', (t) => {
})
})

t.test('scope with / (#7)', (tt) => {
tt.plan(2)

analyzer({}, {
commits: [{
hash: '1234',
message: 'feat(foo/bar): baz'
}]
}, (err, type) => {
tt.error(err)
tt.is(type, 'minor')
})
})

t.end()
})

0 comments on commit 4dd4842

Please sign in to comment.