fix(testing): type the jest nx preset (#15404)

This commit is contained in:
Caleb Ukle 2023-03-02 16:57:05 -06:00 committed by GitHub
parent 9a014c792c
commit 456391ee34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
testMatch: ['**/?(*.)+(spec|test).[jt]s?(x)'],
resolver: '@nrwl/jest/plugins/resolver',