From f4c0cec57c107e17fae39918542df9c039216f5e Mon Sep 17 00:00:00 2001 From: DudaGod Date: Wed, 3 Apr 2024 16:21:35 +0300 Subject: [PATCH] feat: add ability to extend "hermione" global variable --- src/index.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index ad1469dc9..6bd706758 100644 --- a/src/index.ts +++ b/src/index.ts @@ -10,7 +10,16 @@ import { GlobalHelper } from "./types"; export { Hermione as default } from "./hermione"; export { Key } from "webdriverio"; -export type { WdioBrowser, TestResult, Test, Suite, TestError, AssertViewOpts, HermioneCtx } from "./types"; +export type { + WdioBrowser, + TestResult, + Test, + Suite, + TestError, + AssertViewOpts, + HermioneCtx, + GlobalHelper, +} from "./types"; export type { Config } from "./config"; export type { ConfigInput } from "./config/types"; export type { TestCollection } from "./test-collection";