UNPKG

html-reporter

Version:

Html-reporter and GUI for viewing and managing results of a tests run. Currently supports Testplane and Hermione.

18 lines (17 loc) 1.09 kB
import type { Action } from "./types"; import actionNames from "../action-names"; export type SetSnapshotsPlayerHighlightTimeAction = Action<typeof actionNames.SET_SNAPSHOTS_PLAYER_HIGHLIGHT_TIME, { startTime: number; endTime: number; isActive: boolean; }>; export declare const setCurrentPlayerHighlightTime: (payload: SetSnapshotsPlayerHighlightTimeAction['payload']) => SetSnapshotsPlayerHighlightTimeAction; export type SnapshotsPlayerGoToTimeAction = Action<typeof actionNames.SNAPSHOTS_PLAYER_GO_TO_TIME, { time: number; }>; export declare const goToTimeInSnapshotsPlayer: (payload: SnapshotsPlayerGoToTimeAction['payload']) => SnapshotsPlayerGoToTimeAction; export type ToggleTimeTravelPlayerVisibilityAction = Action<typeof actionNames.SNAPSHOTS_PLAYER_TOGGLE_VISIBILITY, { isVisible: boolean; }>; export declare const toggleTimeTravelPlayerVisibility: (isVisible: boolean) => ToggleTimeTravelPlayerVisibilityAction; export type SnapshotsAction = SetSnapshotsPlayerHighlightTimeAction | SnapshotsPlayerGoToTimeAction | ToggleTimeTravelPlayerVisibilityAction;