Small tweaks & improvements (#28253)
* Ignore playwright generated files in git & prettier Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Correct .editorconfig Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Fix jest coverage errors Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Exclude scripts & type defs from coverage Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
bdaad67178
commit
772019711d
5 changed files with 19 additions and 2 deletions
|
@ -44,6 +44,8 @@ const config: Config = {
|
|||
// getSessionLock is piped into a different JS context via stringification, and the coverage functionality is
|
||||
// not available in that contest. So, turn off coverage instrumentation for it.
|
||||
"!<rootDir>/src/utils/SessionLock.ts",
|
||||
// Coverage chokes on type definition files
|
||||
"!<rootDir>/src/**/*.d.ts",
|
||||
],
|
||||
coverageReporters: ["text-summary", "lcov"],
|
||||
testResultsProcessor: "@casualbot/jest-sonar-reporter",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue