diff --git a/e2e/coverage-report/notRequiredInTestSuite.js b/e2e/coverage-report/notRequiredInTestSuite.js index ffb0d38d9985..8657dd339cd5 100644 --- a/e2e/coverage-report/notRequiredInTestSuite.js +++ b/e2e/coverage-report/notRequiredInTestSuite.js @@ -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', ); diff --git a/packages/jest-cli/src/cli/args.ts b/packages/jest-cli/src/cli/args.ts index da80102fc9c9..eee274a77e85 100644 --- a/packages/jest-cli/src/cli/args.ts +++ b/packages/jest-cli/src/cli/args.ts @@ -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', }, @@ -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', @@ -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', @@ -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', }, @@ -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', diff --git a/packages/jest-leak-detector/src/index.ts b/packages/jest-leak-detector/src/index.ts index f315fb592e11..2473ec271ad4 100644 --- a/packages/jest-leak-detector/src/index.ts +++ b/packages/jest-leak-detector/src/index.ts @@ -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.', ); }