@wdio/browserstack-service 9.30.1 → 9.30.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,15 @@
1
+ import type { Frameworks } from '@wdio/types';
2
+ import type TestFramework from './frameworks/testFramework.js';
3
+ export declare function markTestStarted(identifier: string): void;
4
+ export declare function reportSkippedTest(framework: TestFramework, identifier: string, test: Frameworks.Test, suiteTitle?: string): Promise<void>;
5
+ /**
6
+ * Port of the legacy insights-handler skip propagation: when a BEFORE_ALL/BEFORE_EACH/
7
+ * AFTER_EACH hook fails (or skips), mocha silently drops the remaining tests in the
8
+ * suite — report each state-undefined test as skipped, recursing into nested describes.
9
+ */
10
+ export declare function reportSuiteSkipped(framework: TestFramework, suite: {
11
+ tests?: unknown[];
12
+ suites?: unknown[];
13
+ }): Promise<void>;
14
+ /** Resolve a spec file path usable by the binary (it rejects events with no location). */
15
+ export declare function resolveSpecFile(candidate: string | undefined, runnerSpec: string | undefined): string | undefined;