diff --git a/packages/core/strapi/lib/commands/__tests__/templates.generate.js b/packages/core/strapi/lib/commands/__tests__/templates.generate.js index 6ab9be628b..0bff56e30e 100644 --- a/packages/core/strapi/lib/commands/__tests__/templates.generate.js +++ b/packages/core/strapi/lib/commands/__tests__/templates.generate.js @@ -13,7 +13,7 @@ const inquirer = require('inquirer'); const exportTemplate = require('../actions/templates/generate/action'); -describe('generate:template command', () => { +describe('templates:generate command', () => { beforeEach(() => { jest.spyOn(console, 'log').mockImplementation(() => {}); jest.clearAllMocks(); diff --git a/packages/core/strapi/lib/commands/actions/templates/generate/command.js b/packages/core/strapi/lib/commands/actions/templates/generate/command.js index c05761ac30..20ced14390 100644 --- a/packages/core/strapi/lib/commands/actions/templates/generate/command.js +++ b/packages/core/strapi/lib/commands/actions/templates/generate/command.js @@ -3,7 +3,7 @@ const { getLocalScript } = require('../../../utils/helpers'); /** - *`$ strapi generate:template ` + *`$ strapi templates:generate ` * @param {import('../../../../types/core/commands').AddCommandOptions} options */ module.exports = ({ command }) => {