-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🎉 (jest) NICE-27 add better poc for 🃏
♻️ (jest) NICE-27 var swaps
- Loading branch information
1 parent
5e52fd2
commit 930f8b4
Showing
22 changed files
with
523 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,6 48,7 @@ yarn-error.log* | |
.lighthouseci | ||
.tsbuildinfo | ||
build-info.json | ||
coverage | ||
e2e-report | ||
e2e-results | ||
out | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 1,12 @@ | ||
const nextJest = require('next/jest') | ||
|
||
/** @type {import('jest').Config} */ | ||
const config = { | ||
coverageReporters: ['text', 'html'], | ||
setupFilesAfterEnv: ['@jeromefitz/jest-config/jest.setup.js'], | ||
testEnvironment: 'jest-environment-jsdom', | ||
watchman: false, | ||
} | ||
|
||
const defineConfig = nextJest({ dir: './' }) | ||
module.exports = defineConfig(config) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 1 @@ | ||
import '@testing-library/jest-dom/extend-expect' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 1,10 @@ | ||
{ | ||
"name": "@jeromefitz/jest-config", | ||
"version": "0.0.0", | ||
"private": true, | ||
"devDependencies": { | ||
"@testing-library/jest-dom": "5.16.5", | ||
"jest-environment-jsdom": "29.5.0", | ||
"next": "13.3.1" | ||
} | ||
} |
Oops, something went wrong.