Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: missing spaces in string concats #13019

Merged
merged 1 commit into from Jul 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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