From ae755d2d7a2e6c20b96ef34d022b70e1639699b1 Mon Sep 17 00:00:00 2001 From: Roman Kuznetsov Date: Mon, 11 Mar 2024 11:30:17 +0300 Subject: [PATCH] fix: export AssertViewOpts type --- 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 3aeb869e3..34d178c90 100644 --- a/src/index.ts +++ b/src/index.ts @@ -9,7 +9,7 @@ import "expect-webdriverio"; import { GlobalHelper } from "./types"; export { Hermione as default } from "./hermione"; -export type { WdioBrowser, TestResult, Test, Suite, TestError } from "./types"; +export type { WdioBrowser, TestResult, Test, Suite, TestError, AssertViewOpts } from "./types"; export type { Config } from "./config"; export type { ConfigInput } from "./config/types"; export type { TestCollection } from "./test-collection"; diff --git a/src/types/index.ts b/src/types/index.ts index f20720966..7bf9bdf02 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -21,6 +21,8 @@ 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 { AssertViewOpts } from "../browser/commands/types"; + export interface RootSuite extends Suite { root: true; }