knockout-contrib

:metal: KnockoutJS Goodies Monorepo

View the Project on GitHub Profiscience/knockout-contrib

jest-matchers

Version Dependency Status Peer Dependency Status Dev Dependency Status Downloads

Matchers for testing KnockoutJS with jest

API

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()