@profiscience/knockout-contrib-jest-matchers
v2.0.4
Published
[![Version][npm-version-shield]][npm] [![Dependency Status][david-dm-shield]][david-dm] [![Peer Dependency Status][david-dm-peer-shield]][david-dm-peer] [![Dev Dependency Status][david-dm-dev-shield]][david-dm-dev] [![Downloads][npm-stats-shield]][npm-sta
Downloads
22
Readme
jest-matchers
Matchers for testing KnockoutJS with jest
API
toBeObservable()
Usage
This package is NOT included in the metapackage. Install it with yarn add @profiscience/knockout-contrib-jest-matches
, or the equivalent for your package manager (npm, pnpm, etc.).
import '@profiscience/knockout-contrib-jest-matchers'
expect(ko.observable(true)).toBeObservable()