0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-29 23:16:30 +01:00
nodejs/doc/guides
Joyee Cheung df16d20f75
doc: add guides on writing tests involving promises
Mention `common.crashOnUnhandledRejection()` and wrapping the
handlers in `common.mustCall()` or `common.mustNotCall()`.

PR-URL: https://github.com/nodejs/node/pull/20988
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2018-06-01 12:40:48 +02:00
..
contributing doc: update Collaborator Guide reference 2018-05-03 13:44:42 -07:00
doc_img
backporting-to-release-lines.md doc: use american spelling as per style guide 2017-12-23 13:59:07 +01:00
building-node-with-ninja.md doc: replace to Node.js 2018-03-06 00:46:30 +09:00
maintaining-npm.md doc: update formatting to fit our 80 chars rule 2017-12-26 10:41:12 +01:00
maintaining-the-build-files.md doc: add new documentation lint rule 2018-02-23 16:26:29 +00:00
maintaining-V8.md doc: make the background section concise and improve its formality 2018-02-27 11:17:15 -03:00
node-postmortem-support.md doc: replace to Node.js 2018-03-06 00:46:30 +09:00
using-internal-errors.md doc: update internal errors documentation 2018-03-10 12:15:12 +01:00
writing-and-running-benchmarks.md doc: update writing-and-running-benchmarks.md 2018-05-02 22:24:40 -07:00
writing-tests.md doc: add guides on writing tests involving promises 2018-06-01 12:40:48 +02:00