This commit is contained in:
Ben Irvin 2023-04-06 17:48:13 +02:00
parent 2740ce9831
commit 504d654d73
2 changed files with 2 additions and 2 deletions

View File

@ -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();

View File

@ -3,7 +3,7 @@
const { getLocalScript } = require('../../../utils/helpers');
/**
*`$ strapi generate:template <directory>`
*`$ strapi templates:generate <directory>`
* @param {import('../../../../types/core/commands').AddCommandOptions} options
*/
module.exports = ({ command }) => {