diff --git a/src/index.ts b/src/index.ts index 6d257074f..0182447a5 100644 --- a/src/index.ts +++ b/src/index.ts @@ -20,6 +20,7 @@ export type { HermioneCtx, GlobalHelper, TestplaneCtx, + TestFunction, TestFunctionCtx, } from "./types"; export type { Config } from "./config"; @@ -34,6 +35,7 @@ export type { export type { StatsResult } from "./stats"; import type { TestDefinition, SuiteDefinition, TestHookDefinition } from "./test-reader/test-object/types"; +export type { TestDefinition, SuiteDefinition, TestHookDefinition }; declare global { /* eslint-disable no-var */ diff --git a/src/types/index.ts b/src/types/index.ts index 63b0e4bf4..8dc805aa0 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -20,7 +20,7 @@ export type { Browser as WdioBrowser } from "webdriverio"; export type { Test } from "../test-reader/test-object/test"; export type { Suite } from "../test-reader/test-object/suite"; -export type { TestFunctionCtx } from "../test-reader/test-object/types"; +export type { TestFunction, TestFunctionCtx } from "../test-reader/test-object/types"; export interface RootSuite extends Suite { root: true;