:metal: KnockoutJS Goodies Monorepo
Matchers for testing KnockoutJS with jest
toBeObservable()
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()