Create `it.todo` in mocha
Lumin

Lumin @ilumin

Location:
Bangkok, Thailand
Joined:
Jan 25, 2018

Create `it.todo` in mocha

Publish Date: Nov 2 '21
4 2

As I mention in early post, I've been working on legacy project lately and always found an oldschool pattern and old library.

Again in mocha, I've face an error it.todo is not a function ... Come on! Are you serious!

Let's not angry with some small error, the solution is just use it without function, that test case will become pending or "todo" in Jest universe.

Ref: https://github.com/mochajs/mocha/issues/1510#issuecomment-142481408

Comments 2 total

Add comment