From f60f8c274a7f37c3dcf47f72a0bf9f6a84003a89 Mon Sep 17 00:00:00 2001 From: Ahmed Ashour Date: Mon, 12 Feb 2024 17:31:36 +0100 Subject: [PATCH] Fix usually. --- features/setup.feature | 2 +- lib/browser-runtime.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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()`)" ); }