testing library
Utilities for testing code built on JIntent.
Import it from tests only:
import 'package:jintent/testing.dart';
Classes
- JEffectRecorder
- Plays the role of the UI for a JController in tests: it records emitted effects and completes the awaitable ones with scripted responses.
-
JStateRecorder<
T extends JState> - Records every state a JController emits, in order.
Functions
-
resetJIntentGlobals(
) → void - Restores JIntent's process-wide state to its defaults.