chore: hide 'mardown' reporter
This commit is contained in:
parent
183720b56a
commit
6877add04f
2
.github/workflows/merge.config.ts
vendored
2
.github/workflows/merge.config.ts
vendored
|
|
@ -1,4 +1,4 @@
|
|||
export default {
|
||||
testDir: '../../tests',
|
||||
reporter: [['markdown'], ['html']]
|
||||
reporter: [[require.resolve('../../packages/playwright/lib/reporters/markdown')], ['html']]
|
||||
};
|
||||
|
|
@ -270,7 +270,7 @@ export function toReporters(reporters: BuiltInReporter | ReporterDescription[] |
|
|||
return reporters;
|
||||
}
|
||||
|
||||
export const builtInReporters = ['list', 'line', 'dot', 'json', 'junit', 'null', 'github', 'html', 'blob', 'markdown'] as const;
|
||||
export const builtInReporters = ['list', 'line', 'dot', 'json', 'junit', 'null', 'github', 'html', 'blob'] as const;
|
||||
export type BuiltInReporter = typeof builtInReporters[number];
|
||||
|
||||
export type ContextReuseMode = 'none' | 'when-possible';
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@ import JSONReporter from '../reporters/json';
|
|||
import JUnitReporter from '../reporters/junit';
|
||||
import LineReporter from '../reporters/line';
|
||||
import ListReporter from '../reporters/list';
|
||||
import MarkdownReporter from '../reporters/markdown';
|
||||
import type { Suite } from '../common/test';
|
||||
import type { BuiltInReporter, FullConfigInternal } from '../common/config';
|
||||
import { loadReporter } from './loadUtils';
|
||||
|
|
@ -45,7 +44,6 @@ export async function createReporters(config: FullConfigInternal, mode: 'list' |
|
|||
junit: JUnitReporter,
|
||||
null: EmptyReporter,
|
||||
html: HtmlReporter,
|
||||
markdown: MarkdownReporter,
|
||||
};
|
||||
const reporters: ReporterV2[] = [];
|
||||
descriptions ??= config.config.reporter;
|
||||
|
|
|
|||
Loading…
Reference in a new issue