annotation
Import from @varavel/vdl-plugin-sdk/testing.
Creates an Annotation with the given name
and an optional literal argument.
Parameters
| Parameter | Type | Description |
|---|---|---|
name |
string |
Annotation name without the @ prefix. |
argument? |
LiteralValue |
Optional literal argument attached to the annotation. |
Returns
An Annotation with a default position.