Skip to content

Commit 8cacc31

Browse files
committed
Change cucumber args to import ESM
cucumber/cucumber-js#1711 (comment) With the upgrade to rc.3 colours are now broken: cucumber/cucumber-js#1711 (comment)
1 parent 66889f3 commit 8cacc31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/app/models/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ class App {
183183
const cucumberArgs = [
184184
this.#cucumber.binary,
185185
`${this.#cucumber.features}/${sessionProps.sUtType}`,
186-
'--require',
186+
'--import',
187187
`${this.#cucumber.steps}/${sessionProps.sUtType}`,
188188
/* '--exit', */
189189
`--format=message:${this.#results.dir}result_appScannerId-${sessionProps.testSession ? sessionProps.testSession.id : 'noSessionPropsAvailable'}_${this.#strings.NowAsFileName('-')}.NDJSON`,

0 commit comments

Comments
 (0)