Skip to content

Commit

Permalink
fix our one test
Browse files Browse the repository at this point in the history
  • Loading branch information
huumn committed Nov 7, 2024
1 parent 558db5d commit 9ed9c4b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
7 changes: 7 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
const nextJest = require('next/jest')

// Providing the path to your Next.js app which will enable loading next.config.js and .env files
const createJestConfig = nextJest({ dir: './' })

// createJestConfig is exported in this way to ensure that next/jest can load the Next.js configuration, which is async
module.exports = createJestConfig()
5 changes: 0 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,5 @@
"eslint": "^9.12.0",
"jest": "^29.7.0",
"standard": "^17.1.2"
},
"jest": {
"moduleNameMapper": {
"@/(.*)": "<rootDir>/$1"
}
}
}

0 comments on commit 9ed9c4b

Please sign in to comment.