Skip to content

Commit

Permalink
Fixing the failing pipelines on linux / macos (#694)
Browse files Browse the repository at this point in the history
* adding dev container for codespaces

* updating jest config
  • Loading branch information
DaanV2 authored Nov 9, 2024
1 parent 680f3c1 commit f39b86f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
7 changes: 7 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"image": "mcr.microsoft.com/devcontainers/universal:2",
"features": {
"ghcr.io/devcontainers-extra/features/jest:2": {},
"ghcr.io/devcontainers-extra/features/ts-node:1": {}
}
}
2 changes: 1 addition & 1 deletion client/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const config: Config = {
coverageDirectory: "coverage",

// An array of regexp pattern strings used to skip coverage collection
coveragePathIgnorePatterns: ["\\\\node_modules\\\\"],
coveragePathIgnorePatterns: ["node_modules"],

// Indicates which provider should be used to instrument code for coverage
coverageProvider: "v8",
Expand Down
4 changes: 2 additions & 2 deletions jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ const config: Config = {

// An array of regexp pattern strings used to skip coverage collection
coveragePathIgnorePatterns: [
"\\\\node_modules\\\\",
"\\\\coverage\\\\"
"node_modules",
"coverage"
],

// Indicates which provider should be used to instrument code for coverage
Expand Down
4 changes: 2 additions & 2 deletions server/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ const config: Config = {

// An array of regexp pattern strings used to skip coverage collection
coveragePathIgnorePatterns: [
"\\\\node_modules\\\\",
"\\\\coverage\\\\"
"node_modules",
"coverage"
],

// Indicates which provider should be used to instrument code for coverage
Expand Down

0 comments on commit f39b86f

Please sign in to comment.