Skip to content

Commit

Permalink
docs: add more detail to assert recommendation
Browse files Browse the repository at this point in the history
  • Loading branch information
subfuzion authored and iennae committed Oct 5, 2024
1 parent efe8faf commit 57a0e47
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,12 @@ tests, ideally reducing dependencies on third party libraries.

For tests, using the standard
library [assert](https://nodejs.org/docs/latest-v18.x/api/assert.html) is
preferred.
preferred. The library provides a strict and a legacy mode; please use the
strict mode as shown below:

```js
const assert = require('node:assert/strict');
```

If you want to use a third party package, help us to understand if you have
requirements not fulfilled by core libraries in the description of your pull
Expand Down

0 comments on commit 57a0e47

Please sign in to comment.