diff --git a/test/specs/index.js b/test/specs/index.js index 3eb5757..7da9066 100644 --- a/test/specs/index.js +++ b/test/specs/index.js @@ -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() })