Skip to content

Commit

Permalink
fix: missing spaces in string concats (#13019)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Jul 13, 2022
1 parent 0425de0 commit 3d94b58
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion e2e/coverage-report/notRequiredInTestSuite.js
Expand Up @@ -6,7 +6,7 @@
*/

throw new Error(
'this error should not be a problem because' +
'this error should not be a problem because ' +
'this file is never required or executed',
);

Expand Down
10 changes: 5 additions & 5 deletions packages/jest-cli/src/cli/args.ts
Expand Up @@ -196,7 +196,7 @@ export const options: {[key: string]: Options} = {
description:
'The path to a jest config file specifying how to find ' +
'and execute tests. If no rootDir is set in the config, the directory ' +
'containing the config file is assumed to be the rootDir for the project.' +
'containing the config file is assumed to be the rootDir for the project. ' +
'This can also be a JSON encoded value which Jest will use as configuration.',
type: 'string',
},
Expand All @@ -213,7 +213,7 @@ export const options: {[key: string]: Options} = {
coveragePathIgnorePatterns: {
description:
'An array of regexp pattern strings that are matched ' +
'against all file paths before executing the test. If the file path' +
'against all file paths before executing the test. If the file path ' +
'matches any of the patterns, coverage information will be skipped.',
string: true,
type: 'array',
Expand Down Expand Up @@ -311,7 +311,7 @@ export const options: {[key: string]: Options} = {
},
ignoreProjects: {
description:
'Ignore the tests of the specified projects.' +
'Ignore the tests of the specified projects. ' +
'Jest uses the attribute `displayName` in the configuration to identify each project.',
string: true,
type: 'array',
Expand Down Expand Up @@ -352,7 +352,7 @@ export const options: {[key: string]: Options} = {
},
maxConcurrency: {
description:
'Specifies the maximum number of tests that are allowed to run' +
'Specifies the maximum number of tests that are allowed to run ' +
'concurrently. This only affects tests using `test.concurrent`.',
type: 'number',
},
Expand Down Expand Up @@ -517,7 +517,7 @@ export const options: {[key: string]: Options} = {
},
selectProjects: {
description:
'Run the tests of the specified projects.' +
'Run the tests of the specified projects. ' +
'Jest uses the attribute `displayName` in the configuration to identify each project.',
string: true,
type: 'array',
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-leak-detector/src/index.ts
Expand Up @@ -50,7 +50,7 @@ export default class LeakDetector {

throw new Error(
'The leaking detection mechanism requires newer version of node that supports ' +
'FinalizationRegistry, update your node or install the "weak-napi" package' +
'FinalizationRegistry, update your node or install the "weak-napi" package ' +
'which support current node version as a dependency on your main project.',
);
}
Expand Down

0 comments on commit 3d94b58

Please sign in to comment.