Skip to content

Document how to run async subtests #17

@mk-pmb

Description

@mk-pmb

My naive approach would be something like this but obviously that's not how it works:

$ nodejs -r esm test/naive.mjs
TAP version 13
# Import package meta
# can read
# homepage alive
ok 1 should be equal
# has no bugs
TypeError: Cannot read property 'homepage' of undefined
    at Test.t.test (…

So how do I write async subtests? And can I have the parent test's name prefixed in front of the subtest name?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions