Skip to content

Commit

Permalink
do not import @jest/types for e2e test file
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
  • Loading branch information
MasterOdin committed Jan 8, 2023
1 parent 66e69a1 commit a42b463
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@
*
* @jest-config-loader esbuild-register
*/
import type {Config} from '@jest/types';
interface Config {
jestConfig: string;
}

export default {
jestConfig: 'jest.config.ts',
} as Config.InitialOptions;
} as Config;
7 changes: 4 additions & 3 deletions e2e/read-initial-options/ts-node-config/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

import type {Config} from '@jest/types';
interface Config {
jestConfig: string;
}

export default {
jestConfig: 'jest.config.ts',
} as Config.InitialOptions;
} as Config;

0 comments on commit a42b463

Please sign in to comment.