Experimental
Base interface for all test artifacts.
Extend this interface when creating custom test artifacts. Vitest automatically manages the attachments array and injects the location property to indicate where the artifact was created in your test code.
attachments
location
Optional
File or data attachments associated with this artifact
Source location where this artifact was created
Base interface for all test artifacts.
Extend this interface when creating custom test artifacts. Vitest automatically manages the
attachmentsarray and injects thelocationproperty to indicate where the artifact was created in your test code.