- restructure transform.test.ts

- format test files
This commit is contained in:
Mike Penz
2021-08-27 11:59:12 +02:00
parent f4f12c3359
commit 59a6af0516
4 changed files with 240 additions and 187 deletions
+3 -3
View File
@@ -45,7 +45,9 @@ it('Should match generated changelog (unspecified tags)', async () => {
const changeLog = await releaseNotesBuilder.build()
console.log(changeLog)
expect(changeLog).toStrictEqual(`## 🐛 Fixes\n\n- Stacktrace Data can be an array\n - PR: #39\n\n`)
expect(changeLog).toStrictEqual(
`## 🐛 Fixes\n\n- Stacktrace Data can be an array\n - PR: #39\n\n`
)
})
it('Should use empty placeholder', async () => {
@@ -168,7 +170,6 @@ it('Uncategorized category', async () => {
)
})
it('Verify commit based changelog', async () => {
const configuration = resolveConfiguration(
'',
@@ -194,7 +195,6 @@ it('Verify commit based changelog', async () => {
)
})
it('Verify commit based changelog, with emoji categorisation', async () => {
const configuration = resolveConfiguration(
'',