Skip to content

Commit f39b86f

Browse files
authored
Fixing the failing pipelines on linux / macos (#694)
* adding dev container for codespaces * updating jest config
1 parent 680f3c1 commit f39b86f

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

.devcontainer/devcontainer.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"image": "mcr.microsoft.com/devcontainers/universal:2",
3+
"features": {
4+
"ghcr.io/devcontainers-extra/features/jest:2": {},
5+
"ghcr.io/devcontainers-extra/features/ts-node:1": {}
6+
}
7+
}

client/jest.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const config: Config = {
2828
coverageDirectory: "coverage",
2929

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

3333
// Indicates which provider should be used to instrument code for coverage
3434
coverageProvider: "v8",

jest.config.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ const config: Config = {
2929

3030
// An array of regexp pattern strings used to skip coverage collection
3131
coveragePathIgnorePatterns: [
32-
"\\\\node_modules\\\\",
33-
"\\\\coverage\\\\"
32+
"node_modules",
33+
"coverage"
3434
],
3535

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

server/jest.config.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ const config: Config = {
2929

3030
// An array of regexp pattern strings used to skip coverage collection
3131
coveragePathIgnorePatterns: [
32-
"\\\\node_modules\\\\",
33-
"\\\\coverage\\\\"
32+
"node_modules",
33+
"coverage"
3434
],
3535

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

0 commit comments

Comments
 (0)