checkEnvironmentMotion
Mounts an environment on a generated fixture and checks that only a step entered forwards animates.
@internote/canvas-sdk/testingOn this page
import { checkEnvironmentMotion } from '@internote/canvas-sdk/testing';Headless and framework-free, on a manual clock: run it from any test runner and assert report.failed is empty. The environment is registered if it is not already.
#Signature
(definition: EnvironmentDefinition): MotionReport#Parameters
definitionThe environment to check.
Declared in packages/canvas-sdk/src/testing/motion.ts:104.