fix(testing): type the jest nx preset (#15404)
This commit is contained in:
parent
9a014c792c
commit
456391ee34
@ -1,4 +1,5 @@
|
|||||||
export const nxPreset = {
|
import type { Config } from 'jest';
|
||||||
|
export const nxPreset: Config = {
|
||||||
// This is one of the patterns that jest finds by default https://jestjs.io/docs/configuration#testmatch-arraystring
|
// This is one of the patterns that jest finds by default https://jestjs.io/docs/configuration#testmatch-arraystring
|
||||||
testMatch: ['**/?(*.)+(spec|test).[jt]s?(x)'],
|
testMatch: ['**/?(*.)+(spec|test).[jt]s?(x)'],
|
||||||
resolver: '@nrwl/jest/plugins/resolver',
|
resolver: '@nrwl/jest/plugins/resolver',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user