UNPKG

@shipengine/connect

Version:

The official developer tooling for building ShipEngine connect apps

11 lines (10 loc) 350 B
export interface TestResults { passed: number; skipped: number; failed: number; hasFailed: () => boolean; } type ReducerOptions = 'INCREMENT_PASSED' | 'INCREMENT_SKIPPED' | 'INCREMENT_FAILED'; export type TestReducer = (action: ReducerOptions) => void; export declare function useTestResults(): [TestResults, TestReducer]; export {};