BUPKIS
    Preparing search index...

    Interface SnapshotContext

    Context information extracted from a test framework's test context.

    This represents the normalized information needed to create and match snapshots regardless of which test framework is being used.

    interface SnapshotContext {
        filePath: string;
        isUpdateMode: boolean;
        testPath: string;
    }
    Index

    Properties

    filePath: string

    Absolute path to the test file.

    This is used to determine where to store the snapshot file.

    '/Users/name/project/test/component.test.ts';
    
    isUpdateMode: boolean

    Whether we're in update mode.

    When true, snapshots should be created or updated rather than compared. This is typically controlled by CLI flags like --test-update-snapshots or environment variables.

    testPath: string

    Full test path/name including describe blocks.

    This should uniquely identify the test within the test file.

    'MyComponent > renders > shows the title';