Skip to content

Commit

Permalink
fix: export runnable types
Browse files Browse the repository at this point in the history
  • Loading branch information
DudaGod committed Nov 27, 2024
1 parent 9b7ff94 commit 2d1005e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export type {
HermioneCtx,
GlobalHelper,
TestplaneCtx,
TestFunction,
TestFunctionCtx,
} from "./types";
export type { Config } from "./config";
Expand All @@ -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 */
Expand Down
2 changes: 1 addition & 1 deletion src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2d1005e

Please sign in to comment.