Skip to content

test: update Jest config for Next.js App Router#36

Open
saulotarsobc wants to merge 1 commit intomantinedev:masterfrom
saulotarsobc:patch-1
Open

test: update Jest config for Next.js App Router#36
saulotarsobc wants to merge 1 commit intomantinedev:masterfrom
saulotarsobc:patch-1

Conversation

@saulotarsobc
Copy link
Copy Markdown

  • Replace @/pages/* alias with @/app/*
  • Keep @/components/* alias
  • (Optional) add mappers for @/lib/* and @/styles/*
  • Preserve jsdom environment and setup files

Adapts tests to the App Router file structure in Next.js 13-15

- Replace `@/pages/*` alias with `@/app/*`
- Keep `@/components/*` alias
- (Optional) add mappers for `@/lib/*` and `@/styles/*`
- Preserve jsdom environment and setup files

Adapts tests to the App Router file structure in Next.js 13-15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant