From 2d1005e2cfd0d1afc71d71f67f3d60f9bb65c518 Mon Sep 17 00:00:00 2001 From: DudaGod Date: Wed, 27 Nov 2024 17:24:13 +0300 Subject: [PATCH] fix: export runnable types --- src/index.ts | 2 ++ src/types/index.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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;