Closed bpetetot closed 4 years ago
The end 2 end test is not enough precise:
it('shouldn\'t generate changelog when gimoji-changelog if there isn\'t any changes', async () => {
await makeChanges('file1')
await commit(':sparkles: Add some file')
await bumpVersion('1.0.0')
gitmojiChangelog()
await commit(':bookmark: Version 1.0.0')
await tag('1.0.0')
const output = gitmojiChangelog()
expect(getChangelog()).includes(['1.0.0'])
expect(output.toString('utf8')).toDisplayError()
})
This is not the only functional error catched. Closed in favor of #176
Stacktrace
Environment
System:
Binaries:
CLI options
Project info
This error report was generated with ❤️ by issue-reporter