- improve test case to depend on self

- fix various eslint error reports
This commit is contained in:
Mike Penz
2020-10-16 17:38:50 +02:00
parent 8e8f50e7f9
commit 152792eaa4
8 changed files with 121 additions and 96 deletions
+6 -13
View File
@@ -28,25 +28,18 @@ it('Should be true', async () => {
const configuration = readConfiguration('configuration.json')
const releaseNotes = new ReleaseNotes({
owner: 'mikepenz',
repo: 'MaterialDrawer',
repo: 'release-changelog-builder-action',
fromTag: null,
toTag: 'v8.1.6',
toTag: '0.0.3',
configuration: configuration
})
const changeLog = await releaseNotes.pull()
console.log(changeLog)
expect(changeLog).toStrictEqual(`
expect(changeLog).toStrictEqual(`## 🧪 Tests
<details>
<summary>Uncategorized</summary>
- [CI] Specify Test Case
- PR: #10
- Improve GitHub Actions
- PR: #2655
- Update dependencies
- PR: #2656
- [RELEASE] v8.1.6
- PR: #2657
</details>`)
`)
})