diff --git a/doc/api/assert.md b/doc/api/assert.md index 1b8fbab791f76f..2b819c3e4e2301 100644 --- a/doc/api/assert.md +++ b/doc/api/assert.md @@ -57,12 +57,10 @@ assert.deepEqual([[[1, 2, 3]], 4, 5], [[[1, 2, '3']], 4, 5]); // ] ``` -To deactivate the colors, use the `NO_COLOR` or -`NODE_DISABLE_COLORS` environment variable. -This will also deactivate the colors in the REPL. - -For more on the color support in terminal environments, read -the tty [getColorDepth()](tty.html#tty_writestream_getcolordepth_env) doc. +To deactivate the colors, use the `NO_COLOR` or `NODE_DISABLE_COLORS` +environment variables. This will also deactivate the colors in the REPL. For +more on color support in terminal environments, read the tty +[getColorDepth()](tty.html#tty_writestream_getcolordepth_env) documentation. ## Legacy assertion mode