hooks

package
v4.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package hooks is the public, supported facade over the internal testkit/hooks harness for testing components' hook behavior. Import this package (not testkit/hooks directly): it re-exports the stable harness types and helpers so the implementation can evolve without breaking test code.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Harness

type Harness[T any] = base.Harness[T]

func RenderHook

func RenderHook[T any](parseTb stdtesting.TB, parseHook func() T) *Harness[T]

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL