# Convert Mocha and Chai to Jest

```sh
$ jscodeshift <path> -t chai-assert-to-expect.js
$ jscodeshift <path> -t mocha-to-jest.js
```

## TODO

### Assertions

- [ ] typeOf
- [ ] notTypeOf
- [ ] property
- [ ] notProperty
- [ ] deepProperty
- [ ] notDeepProperty
- [ ] deepPropertyVal
- [ ] deepPropertyNotVal
- [ ] lengthOf
- [ ] operator
- [ ] closeTo
- [ ] approximately
- [ ] sameMembers
- [ ] includeMembers
- [ ] includeDeepMembers
- [ ] oneOf
- [ ] changes
- [ ] doesNotChange
- [ ] increases
- [ ] doesNotIncrease
- [ ] decreases
- [ ] doesNotDecrease
- [ ] ifError
- [ ] isExtensible
- [ ] isNotExtensible
- [ ] isSealed
- [ ] isNotSealed
- [ ] isFrozen
- [ ] isNotFrozen

### Special Cases

- [ ] [chai-as-promised](https://github.com/domenic/chai-as-promised)

This project is being merged into [jest-codemods](https://github.com/skovhus/jest-codemods).

Update readme to go to jest-codemods
Update readme to go to jest-codemods
