svelte-component-assertion Svelte Themes

Svelte Component Assertion

A little assertion library to assert svelte component properties.

Svelte Component Assertion

A little assertion library to assert svelte component properties.

Installation

yarn add "@frixxx/svelte-component-assertion"

Usage

import assert from "@frixxx/svelte-component-assertion"

[...]

assert(objA, objB).boolean()
assert(objA).boolean()
assert(objA).error("Wrong")

This readme file is still WIP.

Top categories

Loading Svelte Themes