Skip to content

Commit 50ef569

Browse files
committed
format
1 parent 4be7d70 commit 50ef569

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/@aws-cdk/toolkit-lib/test/api/deployments/early-validation.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ it('throws an error when there are failed validation events', async () => {
1212
const reporter = new EarlyValidationReporter(sdkMock as any, ioHelperMock as any);
1313

1414
await expect(reporter.report('test-change-set', 'test-stack')).rejects.toThrow(
15-
"ChangeSet 'test-change-set' on stack 'test-stack' failed early validation:\n - Resource already exists (at Resources/MyResource)"
15+
"ChangeSet 'test-change-set' on stack 'test-stack' failed early validation:\n - Resource already exists (at Resources/MyResource)",
1616
);
1717
});
1818

@@ -41,6 +41,6 @@ it('logs a warning when DescribeEvents API call fails', async () => {
4141
await reporter.report('test-change-set', 'test-stack');
4242

4343
expect(ioHelperMock.defaults.warn).toHaveBeenCalledWith(
44-
expect.stringContaining('While creating the change set, CloudFormation detected errors in the generated templates')
44+
expect.stringContaining('While creating the change set, CloudFormation detected errors in the generated templates'),
4545
);
4646
});

0 commit comments

Comments
 (0)