Skip to content

Commit 2d1005e

Browse files
committed
fix: export runnable types
1 parent 9b7ff94 commit 2d1005e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export type {
2020
HermioneCtx,
2121
GlobalHelper,
2222
TestplaneCtx,
23+
TestFunction,
2324
TestFunctionCtx,
2425
} from "./types";
2526
export type { Config } from "./config";
@@ -34,6 +35,7 @@ export type {
3435
export type { StatsResult } from "./stats";
3536

3637
import type { TestDefinition, SuiteDefinition, TestHookDefinition } from "./test-reader/test-object/types";
38+
export type { TestDefinition, SuiteDefinition, TestHookDefinition };
3739

3840
declare global {
3941
/* eslint-disable no-var */

src/types/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export type { Browser as WdioBrowser } from "webdriverio";
2020

2121
export type { Test } from "../test-reader/test-object/test";
2222
export type { Suite } from "../test-reader/test-object/suite";
23-
export type { TestFunctionCtx } from "../test-reader/test-object/types";
23+
export type { TestFunction, TestFunctionCtx } from "../test-reader/test-object/types";
2424

2525
export interface RootSuite extends Suite {
2626
root: true;

0 commit comments

Comments
 (0)