Skip to content

Document that lines are zero-indexed #6

@connorshea

Description

@connorshea

In hindsight this should have been obvious, but I got tripped for a little while on the tests being registered with the wrong line number since I assumed line numbers would be 1-indexed because they're 1-indexed in the UI.

It'd be nice to have the 0-indexing documented so I would have known this from the start :)

/** The line within the specified file where the suite definition starts (if known). */
line?: number;
(it should also be documented for line on TestInfo as well)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions