Skip to content

What to do with assert.ok/assert.notOk? #1450

Closed
@ventuno

Description

@ventuno

Following up on #1445 (comment) and the general conversation in #1444.

In #1445 we introduced assert.true/assert.false. We also discussed the possibility of discouraging the use of assert.ok/assert.notOk in the official documentation (see: assert.ok and assert.notOk).

References:

To update:

  • All documentation should stop using assert.*ok in its examples (example module)
  • All tests should stop using assert.*ok and use assert.true/assert.false/assert.strictEqual instead (example module-only test)

@Krinkle, @trentmwillis: thoughts?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions