Reference

createComputedMock

Creates a real computed reactive value for tests.

Signature

function createComputedMock<T>(fn: (): T): ReadonlyCell<T>