package b0
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Module Test.SnapshotSource
Snapshot tests.
Snaphots
Substitutions
The type for snapshot substitution functions, returns a substitution to perform in src. Raise Failure if you can't.
generic_subst is a generic snapshot substution function. It uses the given tester's pretty printer to print the new snapshot which must result in valid OCaml syntax.
string_subst is a special snapshot substitution function for string literals. It looks in the context to preserve quoted literal strings.
Test run state
correct () is true if expected snapshot mismatches must be updated to the snapshot computed during the run.
force_correct () is true if all expected snapshots must be be updated to the snapshots computed during the run, regardless of their correctness.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page