Skip to content

IntegrationSetupFailedErrorConstructorParams

Parameters for the IntegrationSetupFailedError constructor. This is also the shape the framework adapter publishes to its workers (Vitest: provide('setupError')).

Import:

import type { IntegrationSetupFailedErrorConstructorParams } from 'obsidian-integration-testing';

Signature:

export interface IntegrationSetupFailedErrorConstructorParams

Properties

PropertyTypeDescription
errorNamestringThe name of the original error the global setup threw, so a caller can tell an expected skip (DesktopOnlyPluginSkipError) from a real breakage without the original error object, which does not survive the trip to a worker.
messagestringThe original setup failure, already stringified by the adapter that caught it.
transportLabelstringThe transport the failed project is configured for (e.g. obsidian-android-appium), so the report names the platform the suite was meant to run on.

Links to this page: