Skip to content

Commit

Permalink
cli: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima committed Sep 26, 2024
1 parent 6474a7a commit cd963df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli/cli.spec.mts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const cliSharedBlueprintFiles = {
describe('cli', () => {
const __filename = fileURLToPath(import.meta.url);
const jhipsterCli = join(dirname(__filename), '..', 'bin', 'jhipster.cjs');
const logger = { verboseInfo: esmocha.fn(), fatal: esmocha.fn(), debug: esmocha.fn() };
const logger = { verboseInfo: esmocha.fn(), warn: esmocha.fn(), fatal: esmocha.fn(), debug: esmocha.fn() };
const getCommand = esmocha.fn();
let mockCli;
let argv;
Expand Down
2 changes: 1 addition & 1 deletion cli/utils.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import chalk from 'chalk';

import { CLI_LOGGER, createJHipsterLogger } from '../generators/base/support/index.js';
import { CLI_LOGGER, createJHipsterLogger } from '../lib/utils/logger.js';

export const CLI_NAME = 'jhipster';
export const GENERATOR_NAME = 'generator-jhipster';
Expand Down

0 comments on commit cd963df

Please sign in to comment.