Home > @jsplumb/test > BrowserUITestSupport > within
#
BrowserUITestSupport.within() methodHelper to test that a value is the same as some target, within our tolerance. Sometimes the trigonometry stuff needs a little bit of leeway.
Signature:
within(val: number, target: number, msg: string): void;
#
ParametersParameter | Type | Description |
---|---|---|
val | number | |
target | number | |
msg | string |
Returns:
void