Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix error message for runScriptSyncAndExpectSuccess #1374

Merged
merged 1 commit into from
Jun 10, 2022

Conversation

lfdebrux
Copy link
Member

@lfdebrux lfdebrux commented Jun 8, 2022

I spotted this bug in a recent failed test run.

When there is an error running the command and only one parameter is
passed to `runScriptSyncAndExpectSuccess` then options is undefined, and
the error handler errors. Fix this, and also make the calling convention
clearer by adding default parameters where possible.
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-protot-ldeb-fix-r-n5xflb June 8, 2022 14:57 Inactive
@lfdebrux lfdebrux merged commit 4374d36 into main Jun 10, 2022
@lfdebrux lfdebrux deleted the ldeb-fix-run-script-sync-and-expect-success branch June 10, 2022 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants