Skip to content

Commit

Permalink
Recommend chai 4 (#615)
Browse files Browse the repository at this point in the history
Recommend `chai 4` 

`chai` 5 doesn't work atm
- requires ESM
- chai-as-promised doesn't work with it

Recommend chai 4 for the time being.
  • Loading branch information
chgeo authored Jan 11, 2024
1 parent 9fe308b commit a174e45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node.js/cds-test.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ To write tests that run in [*Mocha*](https://mochajs.org) as well as in [*Jest*]
:::warning Using `chai` requires these dependencies added to your project:

```sh
npm add -D chai chai-as-promised chai-subset jest
npm add -D chai@4 chai-as-promised chai-subset jest
```

:::
Expand Down

0 comments on commit a174e45

Please sign in to comment.