cypress-fail-fast
Version:
Skip the rest of Cypress tests on first failure
26 lines (22 loc) • 521 B
TypeScript
/// <reference types="cypress" />
declare namespace Cypress {
interface FailFastConfigOptions {
/**
* Disables fail-fast plugin
* If the test fails, the rest of tests won't be skipped
*/
enabled?: boolean
}
interface TestConfigOverrides {
/**
* Configuration for fail-fast plugin
*/
failFast?: Partial<FailFastConfigOptions>
}
interface SuiteConfigOverrides {
/**
* Configuration for fail-fast plugin
*/
failFast?: Partial<FailFastConfigOptions>
}
}