Skip to content
J

jest-marbles

Helpers library for marbles testing with Jest

by just-jebOpen source

#1452in UI Libraries
0In stores

Description

jest-marbles is a helper library for testing reactive code written with RxJS. It provides helper functions and Jest matchers for marble test…

Highlights

  • Jest matchers for RxJS marble tests
  • Marblized error messages
  • TypeScript support
  • marbleTest helper for default-scheduler operators

Ratings & Reviews

No ratings yet

Be the first to rate jest-marbles.

People also visit

J

jest-preset-angular

Jest configuration preset for Angular projects

UI Libraries
Launch
J

@jscutlery/playwright-ct-angular

Playwright Angular component testing

UI Libraries
Launch
E

Early AI

Save time, enhance code coverage, and ensure quality

UI Libraries
Launch
J

Jasmine

Simple JavaScript testing

UI Libraries
Launch
J

jest-react-testing

Comprehensive React component testing

AI Skills
Get
S

swc-angular

This is a set of Angular presets that enable you to use SWC

UI Libraries
Launch

jest-marbles FAQ

What is jest-marbles?

A set of Jest helpers and matchers for testing RxJS streams with marble diagrams.

What do I need to use it?

Jest, RxJS and familiarity with marble syntax, according to the README prerequisites.

What changed in version 4?

The README says the TestScheduler runs in run mode, frames are 1 ms each, and frameTimeFactor is no longer honored. Durations are written with time progression syntax.

Which helper is for debounceTime or delay?

The new marbleTest helper. The README says it virtualizes RxJS's default schedulers so operators like delay and debounceTime resolve in virtual time.

What are the best jest-marbles alternatives?

Popular alternatives to jest-marbles include jest-preset-angular, @jscutlery/playwright-ct-angular and Early AI. See all jest-marbles alternatives

Developer Stuff

Badges