mirror of
https://github.com/strapi/strapi.git
synced 2025-11-16 10:07:55 +00:00
cleanup
This commit is contained in:
parent
2740ce9831
commit
504d654d73
@ -13,7 +13,7 @@ const inquirer = require('inquirer');
|
|||||||
|
|
||||||
const exportTemplate = require('../actions/templates/generate/action');
|
const exportTemplate = require('../actions/templates/generate/action');
|
||||||
|
|
||||||
describe('generate:template command', () => {
|
describe('templates:generate command', () => {
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
jest.spyOn(console, 'log').mockImplementation(() => {});
|
jest.spyOn(console, 'log').mockImplementation(() => {});
|
||||||
jest.clearAllMocks();
|
jest.clearAllMocks();
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
const { getLocalScript } = require('../../../utils/helpers');
|
const { getLocalScript } = require('../../../utils/helpers');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*`$ strapi generate:template <directory>`
|
*`$ strapi templates:generate <directory>`
|
||||||
* @param {import('../../../../types/core/commands').AddCommandOptions} options
|
* @param {import('../../../../types/core/commands').AddCommandOptions} options
|
||||||
*/
|
*/
|
||||||
module.exports = ({ command }) => {
|
module.exports = ({ command }) => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user