hTest API - v0.1.0
    Preparing search index...

    Class Test

    Represents a single test or a group of tests

    Index

    Constructors

    Properties

    args: any[]
    check: (actual: any, expect: any) => boolean
    data: {} = {}
    expect: any
    file: { label: string; path: string }
    getData: Function
    getName: any
    level: any
    name: any
    originalName: any
    tests: any
    files: WeakMap<any, { label: string; path: string }> = ...

    Source file of each test definition, e.g. { label: "check.js", path: "file:///…/check.js" }. Populated by the environment, which cannot store it on the test object itself: test definitions come from modules that may hold unrelated data.

    Accessors

    Methods