ConformanceMatchers
Defined in: src/storage/testing/conformance.ts:24
The matchers the suite uses. vitest’s and bun:test’s expect both satisfy it.
Methods
Section titled “Methods”toBe()
Section titled “toBe()”toBe(expected): void;Defined in: src/storage/testing/conformance.ts:26
Object.is equality.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
expected |
unknown |
Returns
Section titled “Returns”void
toBeNull()
Section titled “toBeNull()”toBeNull(): void;Defined in: src/storage/testing/conformance.ts:30
=== null.
Returns
Section titled “Returns”void
toEqual()
Section titled “toEqual()”toEqual(expected): void;Defined in: src/storage/testing/conformance.ts:28
Deep equality.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
expected |
unknown |
Returns
Section titled “Returns”void