KC's Workspace
    Preparing search index...

    Interface TestArtifactBaseExperimental

    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.

    interface TestArtifactBase {
        attachments?: TestAttachment[];
        location?: TestArtifactLocation;
    }

    Hierarchy (View Summary)

    Index

    Properties

    attachments?: TestAttachment[]

    File or data attachments associated with this artifact

    Source location where this artifact was created