Update tests/changelogs.test.ts

Co-authored-by: Josh Larson <josh.larson@shopify.com>
This commit is contained in:
Matt Seccafien 2021-11-08 19:32:38 +01:00 committed by GitHub
parent fce5864370
commit 1ae093804d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -60,8 +60,8 @@ readChangelogs().forEach(({packageChangelogPath, packageChangelog}) => {
/^<!-- ## Unreleased -->\n\n## /gm;
expect([
unrelasedHeaderWithContent.test(packageChangelog) ||
unrelasedHeaderWithSubHeader.test(packageChangelog),
unreleasedHeaderWithContent.test(packageChangelog) ||
unreleasedHeaderWithSubHeader.test(packageChangelog),
commentedUnreleasedHeaderWithNoContent.test(packageChangelog),
]).toContain(true);
});