Skip to content
#

codemod

Here are 161 public repositories matching this topic...

guidobouman
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).to.be.above(0).and.to.be.below(46)
+ 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.

CodeshiftCommunity
kiprasmel
kiprasmel commented Dec 21, 2021

hey, the stuff you added in CodeshiftCommunity/CodeshiftCommunity#58 is very exciting!

i think only problem is that the codeshift-cli package is not available on npm yet?

i would actually consider naming it codemods-cli - since end consumers of the library don't necessarily know what "codeshift" is, but do know what a "codemod" is - i think it'd be better understa

documentation enhancement good first issue

Improve this page

Add a description, image, and links to the codemod 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 codemod topic, visit your repo's landing page and select "manage topics."

Learn more