-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
The reactive state library has a lot of new features/fixes over previous versions. These should be tested. Here are some initial tests to have:
- Errors during creation shouldn't impact global state, ID counters, or run counts
- Mismatched sig($)/sig() should throw "Mixed" error
- Mismatched sig()/sig($) should throw "Mixed" error
- Transactions should only commit last value and defer calling wires
- Adoption should impact consistency checks for sigRS/sigRP lists
- Run count should be 0 on start even for computed-signals
- Using a computed-signal in a wire shouldn't change sigRS/sigRP lists
- Wire unsubscribe should reset all lists and disconnect signals
- Running in a loop causes the "Loop ${wire.name}" error
- Pausing then writing to a signal shouldn't run a wire
- Pausing then writing to a signal and unpausing should run a wire
- Pause/Unpause/Pause/Unpause shouldn't do any work
- Tree of parent/children reactors should execute in the right sorted order by pruning children
- Error recovery. Throwing an error shouldn't hurt other wires/signals
- Patching of a single wire works via chaining
- Patching works
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels