Skip to content


Here are 284 public repositories matching this topic...

guidobouman commented Aug 21, 2019

The and method is not supported by Jest, where Chai does support it.

It should probably cut the assertion in two:

- expect(ticketNumber)
+ expect(ticketNumber).toBeGreaterThan(0)
+ expect(ticketNumber).toBeLessThan(46)

Is this a feasible option for codemods?

If so: I'm willing to work on a PR.

Improve this page

Add a description, image, and links to the ava topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the ava topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.