Skip to content

Commit dd7eff1

Browse files
barbados-clemensFrozenPandaz
authored andcommitted
fix(testing): type the jest nx preset (#15404)
(cherry picked from commit 456391e)
1 parent 739c427 commit dd7eff1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/jest/preset/jest-preset.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
export const nxPreset = {
1+
import type { Config } from 'jest';
2+
export const nxPreset: Config = {
23
// This is one of the patterns that jest finds by default https://jestjs.io/docs/configuration#testmatch-arraystring
34
testMatch: ['**/?(*.)+(spec|test).[jt]s?(x)'],
45
resolver: '@nrwl/jest/plugins/resolver',

0 commit comments

Comments
 (0)