assertive-ts icon indicating copy to clipboard operation
assertive-ts copied to clipboard

A type-safe fluent assertion library written in TypeScript and inspired by Jest assertions and the popular AssertJ

Results 8 assertive-ts issues
Sort by recently updated
recently updated
newest added

Add an extension mechanism that allows users to add instances of `Assertion` to the logic within the `expect(..)` function. These are added in the form of a `Plugin

Add the scaffold for the `@assertive-ts/native` plugin.

Does it make sense to throw a type error if a value cannot be null for the `.toBeNull` helper? For example, in the following test I WOULD expect a type...

question

Added the toHaveAttribute matcher.

Hi folks, I'm having some trouble running assertive-ts/core in a browser environment. I thought this was possible but maybe I'm misunderstanding something? > This library is designed to work in...

Added the toHaveClass matcher.