diff --git a/test/manifest.ts b/test/manifest.ts index ed39ea40b..f43115d0b 100644 --- a/test/manifest.ts +++ b/test/manifest.ts @@ -1649,7 +1649,6 @@ describe('Manifest', () => { '.': { releaseType: 'simple', pullRequestHeader: 'No beep boop for you', - pullRequestFooter: 'No reminder for you', }, }, { @@ -1662,6 +1661,25 @@ describe('Manifest', () => { expect(pullRequest.body.header.toString()).to.eql( 'No beep boop for you' ); + }); + + it('allows customizing pull request footer', async () => { + const manifest = new Manifest( + github, + 'main', + { + '.': { + releaseType: 'simple', + pullRequestFooter: 'No reminder for you', + }, + }, + { + '.': Version.parse('1.0.0'), + } + ); + const pullRequests = await manifest.buildPullRequests(); + expect(pullRequests).lengthOf(1); + const pullRequest = pullRequests[0]; expect(pullRequest.body.footer.toString()).to.eql( 'No reminder for you' );