Skip to content

jaybeeuu/rxjs-unit-testing

Repository files navigation

RxJS Unit Testing

This repo is the result of my exploration into unit testing RxJS. In particular I wanted to get to know the marble diagram testing tools and apply them to a relatively complex scenario to see how they stand up.

I used the alphabet-invasion-game (props to adamlubek) as my more complex case.

You can find my write up on the Scott logic blog.

Getting started here

I use pnpm (latest at the time of writing was v7.14.2) to manage my dependencies and of course you will need node (I used v18.14.0).

# Install dependencies
pnpm install

# Run the tests
pnpm test

# Start the vite dev server to see alphabet invasion running on http://localhost:5173/
pnpm start

That's it.

About

An exploration of unit testing RXJS with Jest.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published