Skip to content

Commit

Permalink
docs(devs-infra): fix the example for enabling diagnostics for test f…
Browse files Browse the repository at this point in the history
…iles only (#3489)
  • Loading branch information
alex-kim-dev authored May 2, 2022
1 parent b06ced2 commit 35b8d5a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions website/docs/getting-started/options/diagnostics.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ module.exports = {
globals: {
'ts-jest': {
diagnostics: {
exclude: ['**/*.spec.ts'],
exclude: ['!**/*.(spec|test).ts'],
},
},
},
Expand All @@ -85,7 +85,7 @@ module.exports = {
"globals": {
"ts-jest": {
"diagnostics": {
"exclude": ["**/*.spec.ts"]
"exclude": ["!**/*.(spec|test).ts"]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ module.exports = {
globals: {
'ts-jest': {
diagnostics: {
exclude: ['**/*.spec.ts'],
exclude: ['!**/*.(spec|test).ts'],
},
},
},
Expand All @@ -86,7 +86,7 @@ module.exports = {
"globals": {
"ts-jest": {
"diagnostics": {
"exclude": ["**/*.spec.ts"]
"exclude": ["!**/*.(spec|test).ts"]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ module.exports = {
globals: {
'ts-jest': {
diagnostics: {
exclude: ['**/*.spec.ts'],
exclude: ['!**/*.(spec|test).ts'],
},
},
},
Expand All @@ -85,7 +85,7 @@ module.exports = {
"globals": {
"ts-jest": {
"diagnostics": {
"exclude": ["**/*.spec.ts"]
"exclude": ["!**/*.(spec|test).ts"]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ module.exports = {
globals: {
'ts-jest': {
diagnostics: {
exclude: ['**/*.spec.ts'],
exclude: ['!**/*.(spec|test).ts'],
},
},
},
Expand All @@ -85,7 +85,7 @@ module.exports = {
"globals": {
"ts-jest": {
"diagnostics": {
"exclude": ["**/*.spec.ts"]
"exclude": ["!**/*.(spec|test).ts"]
}
}
}
Expand Down

0 comments on commit 35b8d5a

Please sign in to comment.