Skip to content

Commit a42b463

Browse files
committed
do not import @jest/types for e2e test file
Signed-off-by: Matthew Peveler <[email protected]>
1 parent 66e69a1 commit a42b463

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

e2e/read-initial-options/ts-esbuild-register-config/jest.config.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@
66
*
77
* @jest-config-loader esbuild-register
88
*/
9-
import type {Config} from '@jest/types';
9+
interface Config {
10+
jestConfig: string;
11+
}
1012

1113
export default {
1214
jestConfig: 'jest.config.ts',
13-
} as Config.InitialOptions;
15+
} as Config;

e2e/read-initial-options/ts-node-config/jest.config.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*/
7-
8-
import type {Config} from '@jest/types';
7+
interface Config {
8+
jestConfig: string;
9+
}
910

1011
export default {
1112
jestConfig: 'jest.config.ts',
12-
} as Config.InitialOptions;
13+
} as Config;

0 commit comments

Comments
 (0)