Skip to content

Commit

Permalink
Merge pull request #1154 from asashour/usually
Browse files Browse the repository at this point in the history
Fix tests.
  • Loading branch information
badeball committed Feb 12, 2024
2 parents 58a561d + f60f8c2 commit 5e5580b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion features/setup.feature
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ Feature: setup
Then it fails
And the output should contain
"""
Missing preprocessor event handlers (this usally means you've not invoked `addCucumberPreprocessorPlugin()` or not returned the config object in `setupNodeEvents()`)
Missing preprocessor event handlers (this usually means you've not invoked `addCucumberPreprocessorPlugin()` or not returned the config object in `setupNodeEvents()`)
"""
2 changes: 1 addition & 1 deletion lib/browser-runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@ function shouldSkipPickle(testFilter: Node, pickle: messages.Pickle) {
function beforeHandler(this: Mocha.Context, context: CompositionContext) {
if (!retrieveInternalSuiteProperties()?.isEventHandlersAttached) {
fail(
"Missing preprocessor event handlers (this usally means you've not invoked `addCucumberPreprocessorPlugin()` or not returned the config object in `setupNodeEvents()`)"
"Missing preprocessor event handlers (this usually means you've not invoked `addCucumberPreprocessorPlugin()` or not returned the config object in `setupNodeEvents()`)"
);
}

Expand Down

0 comments on commit 5e5580b

Please sign in to comment.