Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Bryce Kalow <br.kalow@gmail.com>
  • Loading branch information
ijjk and BRKalow committed Nov 16, 2022
1 parent 1b8940c commit a536469
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/build/jest/jest.ts
Expand Up @@ -158,7 +158,7 @@ export default function nextJest(options: { dir?: string } = {}) {
...(transpiled ? [
`/node_modules/(?!(${transpiled}))/`,
`/node_modules/.pnpm/(?!(${transpiled.replace(/\//g, '\\+')})@)`,
] : ['/node_modules/'])
] : ['/node_modules/']),
// CSS modules are mocked so they don't need to be transformed
'^.+\\.module\\.(css|sass|scss)$',

Expand Down

0 comments on commit a536469

Please sign in to comment.