Skip to content

Commit

Permalink
fix(testing): type the jest nx preset (#15404)
Browse files Browse the repository at this point in the history
(cherry picked from commit 456391e)
  • Loading branch information
barbados-clemens authored and FrozenPandaz committed Mar 3, 2023
1 parent 739c427 commit dd7eff1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/jest/preset/jest-preset.ts
@@ -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',
Expand Down

0 comments on commit dd7eff1

Please sign in to comment.