()
| 170 | let pendingUnitEmitCount: number; |
| 171 | |
| 172 | const dispatchRandomValues = (): number => { |
| 173 | const someUnits = randomSelectMultiple([queryUnit, dataUnit, errorUnit, pendingUnit]); |
| 174 | return someUnits |
| 175 | .map(unit => { |
| 176 | const shouldDispatchDuplicate = randomBoolean(); |
| 177 | return unit.dispatch(shouldDispatchDuplicate ? unit.value() : randomValidValue(unit), { |
| 178 | bypassDebounce: true, |
| 179 | }); |
| 180 | }) |
| 181 | .filter(didDispatch => didDispatch).length; |
| 182 | }; |
| 183 | |
| 184 | beforeEach(() => { |
| 185 | Configuration.reset(); |
no test coverage detected