Skip to main content
Back to course
Log in
Get started
Someone wanted to learn this too, so Grasp built them a personal learning path.
Create your own
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.
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`.
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.
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.
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.
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.
Write a test to detect potential memory leaks from unterminated subscriptions.
Previous module
Type-Safe Event Bus
Next module
Library Packaging & Documentation