Home > @uniformdev/context > Context > test
Context.test() method
Executes an A/B test with a given set of variants, showing the visitor's assigned variant (or selecting one to assign, if none is set yet)
Signature:
Parameters
Parameter | Type | Description |
---|---|---|
options | TestOptions<TVariant> |
Returns:
TestResult<TVariant>