is/source
Martin Eneqvist d77be18d42 Fix index-as-message bug in assertArray
As `assertArray` previously called the assertion
function in a `forEach(assertion)`, the index was
passed as the custom message. This commit fixes
this bug by passing down the `message` argument
to the assertion function.

A `@ts-expect-error` comment was added to due to
"Assertions require every name in the call target
to be declared with an explicit type
annotation.".
2024-09-06 10:16:32 +02:00
..
index.ts Fix index-as-message bug in assertArray 2024-09-06 10:16:32 +02:00
types.ts Require Node.js 18 2024-07-10 15:41:12 +02:00