Skip to content

Commit fca5c80

Browse files
committed
fix: formatting issues in cli.test.ts
1 parent 84b124d commit fca5c80

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

packages/aws-cdk/test/cli/cli.test.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -448,17 +448,17 @@ describe('gc command warning tests', () => {
448448
context: { get: () => [] },
449449
loadConfigFiles: jest.fn().mockResolvedValue(undefined),
450450
};
451-
451+
452452
(Configuration as any).mockImplementation(() => mockConfig);
453453
Configuration.fromArgsAndFiles = jest.fn().mockImplementation(() => mockConfig);
454454
jest.spyOn(cdkToolkitModule.CdkToolkit.prototype, 'garbageCollect').mockResolvedValue();
455-
jest.spyOn(CliIoHost, 'instance').mockReturnValue({
456-
defaults: {
455+
jest.spyOn(CliIoHost, 'instance').mockReturnValue({
456+
defaults: {
457457
warn: mockWarn,
458458
debug: jest.fn(),
459459
info: jest.fn(),
460460
error: jest.fn(),
461-
trace: jest.fn()
461+
trace: jest.fn(),
462462
},
463463
noticesDestination: 'stderr',
464464
notify: jest.fn(),
@@ -468,12 +468,12 @@ describe('gc command warning tests', () => {
468468
debug: jest.fn(),
469469
info: jest.fn(),
470470
error: jest.fn(),
471-
trace: jest.fn()
472-
}
471+
trace: jest.fn(),
472+
},
473473
}),
474-
startTelemetry: jest.fn().mockResolvedValue(undefined)
474+
startTelemetry: jest.fn().mockResolvedValue(undefined),
475475
} as any);
476-
476+
477477
await exec(['gc', '--role-arn', 'test-role', '--unstable=gc']);
478478
expect(mockWarn).toHaveBeenCalledWith('The --role-arn option is not supported for the gc command and will be ignored.');
479479
});

0 commit comments

Comments
 (0)