diff --git a/features/setup.feature b/features/setup.feature index 140b1290..4a04604e 100644 --- a/features/setup.feature +++ b/features/setup.feature @@ -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()`) """ diff --git a/lib/browser-runtime.ts b/lib/browser-runtime.ts index d900def9..3bf2a4d6 100644 --- a/lib/browser-runtime.ts +++ b/lib/browser-runtime.ts @@ -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()`)" ); }