diff options
Diffstat (limited to 'packages/web-util/src/tests')
-rw-r--r-- | packages/web-util/src/tests/hook.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/web-util/src/tests/hook.ts b/packages/web-util/src/tests/hook.ts index 0ec47f252..ddc96eb0e 100644 --- a/packages/web-util/src/tests/hook.ts +++ b/packages/web-util/src/tests/hook.ts @@ -120,6 +120,7 @@ interface Mounted<T> { * * @returns testing API */ +// eslint-disable-next-line @typescript-eslint/ban-types export function mountHook<T extends object>( hookToBeTested: () => RecursiveState<T>, Context?: ({ children }: { children: any }) => VNode | null, @@ -242,6 +243,7 @@ interface HookTestResultError { * * @returns testing result, should also be checked to be "ok" */ +// eslint-disable-next-line @typescript-eslint/ban-types export async function hookBehaveLikeThis<T extends object, PropsType>( hookFunction: (p: PropsType) => RecursiveState<T>, props: PropsType, |