Files
nrwl--nx/jest.config.cts
Craigory Coppola 236177b8a3 chore(repo): fixup some issues with jest config (#33549)
## Current Behavior
There's some issues with the jest configs in the repo, CJS files having
`import` in them, etc.

## Expected Behavior
CJS files don't have `import`

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->

Fixes #
2025-11-20 16:49:18 -05:00

7 lines
186 B
TypeScript

import type { Config } from 'jest';
const { getJestProjectsAsync } = require('@nx/jest');
module.exports = async (): Promise<Config> => ({
projects: await getJestProjectsAsync(),
});