Diorama

Made for a big screen.

This site is one 3D scene, built for a computer: a wide window and a mouse. Open dioramajs.dev on a desktop or a laptop to see it.This site is one 3D scene, built for a wide window. Make this one wider, or open dioramajs.dev on a larger screen.

GitHub

DioramaDocs

probe function

Mounts an effect on a fixture with the fake render, runs setup and two updates with pointer and scroll movement, and reports what it read and whether it rests.

View as Markdown
import { probe } from '@dioramajs/effects/testing'

. For the tests and the metadata of effect modules; needs a DOM such as happy-dom.

function probe(effect: Effect, options?: ProbeOptions): Promise<ProbeResult>

Parameters

NameTypeDescription
effectEffect
options?ProbeOptions

Default {}.

Defined in packages/effects/src/testing/probe.ts.