diff --git a/messages/create.json b/messages/create.json index 12f2712..36c049e 100644 --- a/messages/create.json +++ b/messages/create.json @@ -1,7 +1,7 @@ { "example": "$ sfdx force:lightning:lwc:test:create -f force-app/main/default/lwc/myButton/myButton.js", - "commandDescription": "create a Lightning web component test with boilerplate code inside a __tests__ directory", - "longDescription": "Creates a __tests__ directory in the specified directory. Creates a boilerplate yourComponentName.test.js file in the __tests__ directory.", + "commandDescription": "creates a Lightning web component test file with boilerplate code inside a __tests__ directory.", + "longDescription": "Creates a __tests__ directory in the specified directory. Creates a yourComponentName.test.js file with boilerplate code in the __tests__ directory.", "filepathFlagDescription": "path to Lightning web component .js file to create a test for", "errorFileNotFound": "File not found: '%s'.", "errorFileNotJs": "File must be a JavaScript file. The '.js' extension was not found: '%s'.", diff --git a/messages/run.json b/messages/run.json index 6a614df..0ed1296 100644 --- a/messages/run.json +++ b/messages/run.json @@ -1,8 +1,8 @@ { "example1": "$ sfdx force:lightning:lwc:test:run", "example2": "$ sfdx force:lightning:lwc:test:run -w", - "commandDescription": "invoke Lightning web component Jest unit tests", - "longDescription": "Invokes Lightning web component Jest unit tests.", + "commandDescription": "invokes Lightning Web Components Jest unit tests.", + "longDescription": "Invokes Lightning Web Components Jest unit tests.", "debugFlagDescription": "run tests in debug mode", "debugFlagLongDescription": "Runs tests in a Node process that an external debugger can connect to. The run pauses until the debugger is connected. For more information, see: https://jestjs.io/docs/en/troubleshooting", "watchFlagDescription": "run tests in watch mode", diff --git a/messages/setup.json b/messages/setup.json index 0e45adf..64bca14 100644 --- a/messages/setup.json +++ b/messages/setup.json @@ -1,7 +1,7 @@ { "example": "$ sfdx force:lightning:lwc:test:setup", - "commandDescription": "install Jest unit testing tools for Lightning web components", - "longDescription": "Installs Jest unit testing tools for Lightning web components. For more information, see the Lightning Web Components Dev Guide: https://developer.salesforce.com/docs/component-library/documentation/lwc/lwc.testing", + "commandDescription": "install Jest unit testing tools for Lightning Web Components.", + "longDescription": "Installs Jest unit testing tools for Lightning Web Components. For more information, see the Lightning Web Components Dev Guide: https://developer.salesforce.com/docs/component-library/documentation/lwc/lwc.testing", "errorNodeNotFound": "Could not retrieve Node.js version. Verify it is properly installed and try again.", "errorNpmNotFound": "npm command not found. Verify npm is properly installed and try again.", "errorNodeVersion": "Node.js version too low. Version 8.12.0 or higher required. Found version %s", diff --git a/src/commands/force/lightning/lwc/test/create.ts b/src/commands/force/lightning/lwc/test/create.ts index 4d6bbd3..350966a 100644 --- a/src/commands/force/lightning/lwc/test/create.ts +++ b/src/commands/force/lightning/lwc/test/create.ts @@ -15,6 +15,7 @@ const messages = Messages.loadMessages('@salesforce/sfdx-plugin-lwc-test', 'crea export default class Create extends SfdxCommand { public static description = messages.getMessage('commandDescription'); + public static longDescription = messages.getMessage('longDescription'); public static examples = [ messages.getMessage('example') diff --git a/src/commands/force/lightning/lwc/test/run.ts b/src/commands/force/lightning/lwc/test/run.ts index e253501..3b0994c 100644 --- a/src/commands/force/lightning/lwc/test/run.ts +++ b/src/commands/force/lightning/lwc/test/run.ts @@ -17,6 +17,7 @@ const messages = Messages.loadMessages('@salesforce/sfdx-plugin-lwc-test', 'run' export default class Run extends SfdxCommand { public static description = messages.getMessage('commandDescription'); + public static longDescription = messages.getMessage('longDescription'); public static examples = [ messages.getMessage('example1'), diff --git a/src/commands/force/lightning/lwc/test/setup.ts b/src/commands/force/lightning/lwc/test/setup.ts index 9984a96..ef6467a 100644 --- a/src/commands/force/lightning/lwc/test/setup.ts +++ b/src/commands/force/lightning/lwc/test/setup.ts @@ -33,6 +33,7 @@ const forceignoreEntry = '\n# LWC Jest tests\n**/__tests__/**'; export default class Setup extends SfdxCommand { public static description = messages.getMessage('commandDescription'); + public static longDescription = messages.getMessage('longDescription'); public static examples = [ messages.getMessage('example')