Skip to content

Commit

Permalink
Fix usually.
Browse files Browse the repository at this point in the history
  • Loading branch information
asashour committed Feb 12, 2024
1 parent 86cc83e commit f60f8c2
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 f60f8c2

Please sign in to comment.