refactor(cli): move the default reporter into a separate "reporters" folder
This commit is contained in:
parent
da1eee3c75
commit
4f8fb441f8
3 changed files with 2 additions and 2 deletions
|
|
@ -7,7 +7,7 @@ import { BadOptionError, MissingArgumentsError, MissingOptionError, UnexpectedEr
|
|||
import { type Config } from './types.js';
|
||||
import { withLeadingPeriod } from './with-leading-period.js';
|
||||
|
||||
const lazyDefaultReporter = async () => import('./plugin-reporter-default.js');
|
||||
const lazyDefaultReporter = async () => import('./reporters/default.js');
|
||||
|
||||
export default async function newCommand(
|
||||
{ directory, template, reporter: reporterConfig, plugins = [], extension }: Config,
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ const getDuration = (start: [number, number]) => {
|
|||
return seconds * 1000 + nanoseconds / 1_000_000;
|
||||
};
|
||||
|
||||
const lazyDefaultReporter = async () => import('./plugin-reporter-default.js');
|
||||
const lazyDefaultReporter = async () => import('./reporters/default.js');
|
||||
|
||||
export default async function upCommand({
|
||||
storage: storageConfig,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue