From 3269deab779457b326686303df629229780d3e3a Mon Sep 17 00:00:00 2001 From: Uzair Ali Date: Wed, 16 Aug 2023 16:05:10 +0500 Subject: [PATCH] Update 10-testing.mdx --- .../01-building-your-application/05-optimizing/10-testing.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/03-pages/01-building-your-application/05-optimizing/10-testing.mdx b/docs/03-pages/01-building-your-application/05-optimizing/10-testing.mdx index d861a091ecff6..71de795ff62fb 100644 --- a/docs/03-pages/01-building-your-application/05-optimizing/10-testing.mdx +++ b/docs/03-pages/01-building-your-application/05-optimizing/10-testing.mdx @@ -318,7 +318,7 @@ npm install --save-dev jest jest-environment-jsdom @testing-library/react @testi Create a `jest.config.mjs` file in your project's root directory and add the following: ```js filename="jest.config.mjs" -import nextJest from 'next/jest' +import nextJest from 'next/jest.js' const createJestConfig = nextJest({ // Provide the path to your Next.js app to load next.config.js and .env files in your test environment