Skip to content

Commit

Permalink
updated unread to unacknowledged
Browse files Browse the repository at this point in the history
  • Loading branch information
awslukeguan committed Aug 30, 2024
1 parent aaade03 commit 61b194d
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2194,9 +2194,9 @@ async function listChildDirs(parent: string) {
integTest(
'cdk notices with --unacknowledged',
withDefaultFixture(async (fixture) => {
const noticesUnread = await fixture.cdk(['notices', '--unacknowledged'], { verbose: false });
const noticesUnreadAlias = await fixture.cdk(['notices', '-u'], { verbose: false });
expect(noticesUnread).toEqual(expect.stringMatching(/There are \d{1,} unacknowledged notice\(s\)./));
expect(noticesUnread).toEqual(noticesUnreadAlias);
const noticesUnacknowledged = await fixture.cdk(['notices', '--unacknowledged'], { verbose: false });
const noticesUnacknowledgedAlias = await fixture.cdk(['notices', '-u'], { verbose: false });
expect(noticesUnacknowledged).toEqual(expect.stringMatching(/There are \d{1,} unacknowledged notice\(s\)./));
expect(noticesUnacknowledged).toEqual(noticesUnacknowledgedAlias);
}),
);

0 comments on commit 61b194d

Please sign in to comment.