Ask a question to get started
Enter to send•Shift+Enter new line
An expect function.
expect
The return type is intentionally any — every test framework exposes its own matcher API and fully typing it would couple the package to a specific runner.
any
ExpectFn: (value: unknown) => any