-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: update jest config to include i18n directory
- Loading branch information
Showing
1 changed file
with
39 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,47 @@ | ||
{ | ||
"preset": "ts-jest", | ||
"testEnvironment": "node", | ||
"testMatch": ["<rootDir>/tests/**/*.test.ts"], | ||
"testMatch": [ | ||
"<rootDir>/tests/**/*.test.ts" | ||
], | ||
"transform": { | ||
"^.+\\.tsx?$": ["ts-jest", { "tsconfig": "tsconfig.json", "diagnotics": true }] | ||
"^.+\\.tsx?$": [ | ||
"ts-jest", | ||
{ | ||
"tsconfig": "tsconfig.json", | ||
"diagnotics": true | ||
} | ||
] | ||
}, | ||
"moduleFileExtensions": ["ts", "tsx", "js", "jsx", "json", "node"], | ||
"testPathIgnorePatterns": ["<rootDir>/node_modules/", "<rootDir>/public/"], | ||
"moduleFileExtensions": [ | ||
"ts", | ||
"tsx", | ||
"js", | ||
"jsx", | ||
"json", | ||
"node" | ||
], | ||
"testPathIgnorePatterns": [ | ||
"<rootDir>/node_modules/", | ||
"<rootDir>/public/" | ||
], | ||
"collectCoverage": true, | ||
"coverageDirectory": "coverage", | ||
"collectCoverageFrom": ["<rootDir>/api/**/*.ts", "<rootDir>/scripts/**/*.ts", "<rootDir>/src/**/*.ts", "<rootDir>/themes/**/*.ts"], | ||
"coverageReporters": ["lcov", "text", "clover", "html"], | ||
"coveragePathIgnorePatterns": ["<rootDir>/node_modules/", "<rootDir>/public/"] | ||
"collectCoverageFrom": [ | ||
"<rootDir>/api/**/*.ts", | ||
"<rootDir>/scripts/**/*.ts", | ||
"<rootDir>/src/**/*.ts", | ||
"<rootDir>/themes/**/*.ts", | ||
"<rootDir>/i18n/**/*.ts" | ||
], | ||
"coverageReporters": [ | ||
"lcov", | ||
"text", | ||
"clover", | ||
"html" | ||
], | ||
"coveragePathIgnorePatterns": [ | ||
"<rootDir>/node_modules/", | ||
"<rootDir>/public/" | ||
] | ||
} |
eddd7fa
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
github-readme-profile – ./
github-readme-profile-beta.vercel.app
github-readme-profile-alpha.vercel.app
github-readme-profile-theta.vercel.app
github-readme-profile-fajarkim.vercel.app
test-readme-profile.vercel.app
github-readme-profile-git-master-fajarkims-projects.vercel.app
github-readme-profile-fajarkims-projects.vercel.app
gh-readme-profile.vercel.app