Skip to main content
grasp.study
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
Modern JS framework with TypeScript
·
Module 8
Advanced Testing & RxJS Interoperability
1
Testing Async Observables with TestScheduler
Implement a `TestScheduler` to deterministically test asynchronous observable chains using virtual time.
2
Parsing Marble Diagrams for TestScheduler
Design and implement a parser for marble diagram strings to schedule events and assertions within the `TestScheduler`.
3
Testing Observables with Marble Diagrams
Create an assertion helper to test an observable's output against an expected marble diagram.
4
RxJS Interoperability with Adapters
Implement adapters to convert between your library's observables and RxJS observables.
5
Testing RxJS Operator Compatibility with Adapters
Write integration tests using the adapters to verify compatibility with core RxJS operators.
6
Testing for Subscription Memory Leaks
Write a test to detect potential memory leaks from unterminated subscriptions.
Previous module
Type-Safe Event Bus
Next module
Library Packaging & Documentation