Skip to content

Commit f166f97

Browse files
committed
fix style in tests
1 parent 63d0359 commit f166f97

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1+
import { Toolkit } from '@aws-cdk/toolkit-lib';
12
import { Notices } from '../../lib/api/notices';
23
import * as cdkToolkitModule from '../../lib/cli/cdk-toolkit';
34
import { exec } from '../../lib/cli/cli';
45
import { CliIoHost } from '../../lib/cli/io-host';
56
import { Configuration } from '../../lib/cli/user-configuration';
67
import { TestIoHost } from '../_helpers/io-host';
7-
import { Toolkit } from '@aws-cdk/toolkit-lib';
88

99
// Store original version module exports so we don't conflict with other tests
1010
const originalVersion = jest.requireActual('../../lib/cli/version');
@@ -111,7 +111,6 @@ jest.mock('../../lib/commands/flags/flags', () => {
111111
};
112112
});
113113

114-
115114
describe('exec verbose flag tests', () => {
116115
beforeEach(() => {
117116
jest.clearAllMocks();
@@ -554,7 +553,7 @@ describe('flags command tests', () => {
554553
},
555554
context: {
556555
all: {
557-
'myContextParam': 'testValue',
556+
myContextParam: 'testValue',
558557
},
559558
get: jest.fn().mockReturnValue([]),
560559
},
@@ -589,4 +588,4 @@ describe('flags command tests', () => {
589588
);
590589
expect(mockProcessFlagsCommand).toHaveBeenCalled();
591590
});
592-
});
591+
});

0 commit comments

Comments
 (0)