2022-10-28 20:51:09 -04:00
|
|
|
const base = [
|
2022-10-25 00:28:44 -04:00
|
|
|
'test/integration/features/**/*.feature',
|
|
|
|
'--require-module ts-node/register',
|
2022-10-28 00:44:30 -04:00
|
|
|
'--require test/integration/features/**/*.ts',
|
|
|
|
'--require test/integration/features/*.ts',
|
2022-10-28 21:47:43 -04:00
|
|
|
'--publish-quiet',
|
2022-10-28 20:51:09 -04:00
|
|
|
].join(' ')
|
|
|
|
|
|
|
|
const config = [
|
|
|
|
base,
|
2022-10-28 00:44:30 -04:00
|
|
|
'--format @cucumber/pretty-formatter',
|
2022-10-28 20:51:09 -04:00
|
|
|
'--format html:.test-reports/integration/report.html',
|
|
|
|
'--format json:.test-reports/integration/report.json',
|
2022-10-28 00:44:30 -04:00
|
|
|
'--publish',
|
2022-10-25 00:28:44 -04:00
|
|
|
].join(' ')
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
default: config,
|
2022-10-28 20:51:09 -04:00
|
|
|
cover: base,
|
2022-10-25 00:28:44 -04:00
|
|
|
}
|