(validness = 0.7, nestingLvl = 1)
| 417 | } |
| 418 | |
| 419 | export function randomAsyncSystemInitialValue(validness = 0.7, nestingLvl = 1) { |
| 420 | return { |
| 421 | query: randomInitialValue(GenericUnit, validness, nestingLvl), |
| 422 | data: randomInitialValue(GenericUnit, validness, nestingLvl), |
| 423 | error: randomInitialValue(GenericUnit, validness, nestingLvl), |
| 424 | pending: randomInitialValue(BoolUnit, validness, nestingLvl), |
| 425 | } as AsyncSystemValue<any, any, any>; |
| 426 | } |
| 427 | |
| 428 | export function randomUnitCtor(): new (config?: UnitConfig<any>) => UnitBase<any> & |
| 429 | NonPrimitiveUnitBase<any> { |
no test coverage detected