Skip to content

use-t-pass-well rule #155

Open
Open
@sindresorhus

Description

@sindresorhus

I've sometimes seen people use t.pass() without it actually having any effect. For example, top-level in a test or without t.plan().

Example of incorrect usage:
https://github.com/sindresorhus/notifier-for-github-chrome/blob/933907a29c6eda17d14b1a1afbacce4b0f18b14f/test/permissions-service-test.js#L17

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions