mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2025-12-06 10:41:02 -08:00
30 lines
906 B
JavaScript
30 lines
906 B
JavaScript
const feature = [
|
|
'--require-module ts-node/register',
|
|
'--require features/**/*.ts',
|
|
`--format progress-bar`,
|
|
'--format rerun:logs/@rerun.txt',
|
|
'--format usage:logs/usage.txt',
|
|
'--format message:logs/messages.ndjson',
|
|
'--publish-quiet',
|
|
].join(' ');
|
|
|
|
const cck = ['--require-module', 'ts-node/register', '--format', 'message'].join(' ');
|
|
|
|
const FORMATTERS_INCLUDE = ['attachments', 'data-tables', 'examples-tables', 'minimal', 'parameter-types', 'rules', 'stack-traces', '--publish-quiet'];
|
|
|
|
const htmlFormatter = [
|
|
`node_modules/@cucumber/compatibility-kit/features/{${FORMATTERS_INCLUDE.join(',')}}/*.feature`,
|
|
'--require-module',
|
|
'ts-node/register',
|
|
'--require',
|
|
`compatibility/features/{${FORMATTERS_INCLUDE.join(',')}}/*.ts`,
|
|
'--format',
|
|
'html:html-formatter.html',
|
|
'--publish-quiet',
|
|
].join(' ');
|
|
|
|
module.exports = {
|
|
default: feature,
|
|
// cck,
|
|
// htmlFormatter,
|
|
};
|