start function
Starts an app with the fake render, the effects preset and these entries, engine loaded.
import { start } from '@dioramajs/effects/testing'function start(
entries: EffectEntries,
options?: Partial<EffectsOptions>,
before?: (app: App) => void,
plugins?: readonly PluginEntry[],
): Promise<World>Parameters
| Name | Type | Description |
|---|---|---|
entries | EffectEntries | |
options? | Partial<EffectsOptions> | Default |
before? | (app: App) => void | |
plugins? | readonly PluginEntry[] | Default |
Defined in packages/effects/src/testing/gpu.ts.