0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 07:27:22 +01:00
nodejs/test
Anna Henningsen a60ed89178
util: allow returning this from custom inspect
If a custom inspection function returned `this`, use that value
for further formatting instead of going into infinite recursion.

This is particularly useful when combined with `util.inspect.custom`
because returning `this` from such a method makes it easy to
have an `inspect()` function that is ignored by `util.inspect` without
actually having to provide an alternative for custom inspection.

PR-URL: https://github.com/nodejs/node/pull/8174
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
2016-08-25 07:18:12 +02:00
..
abort
addons test: add an zlib binding addon test 2016-08-17 18:44:00 -07:00
cctest test: fix failing inspector cctest 2016-08-09 17:28:12 -07:00
debugger
disabled
doctool
fixtures util: fix deprecated class prototype 2016-08-17 18:27:22 -07:00
gc
internet test: use common platform helpers everywhere 2016-07-27 08:25:26 +02:00
known_issues
message
parallel util: allow returning this from custom inspect 2016-08-25 07:18:12 +02:00
pseudo-tty
pummel test: favor === over == in crypto tests 2016-08-21 20:25:08 -07:00
sequential src: make debugger listen on 127.0.0.1 by default 2016-08-23 21:10:34 +02:00
testpy
timers timers: remove unused repeat param in timer_wrap 2016-08-09 12:26:10 -07:00
.eslintrc
common.js test: allow globals to be whitelisted 2016-08-08 11:03:18 -04:00
README.md

Tests

abort

Tests for when the --abort-on-uncaught-exception flag is used.

Runs on CI
No

addons

Tests for addon functionality along with some tests that require an addon to function properly.

Runs on CI
Yes

cctest

C++ test that is run as part of the build process.

Runs on CI
Yes

debugger

Tests for debugger functionality.

Runs on CI
No

disabled

Tests that have been disabled from running for various reasons.

Runs on CI
No

fixtures

Test fixtures used in various tests throughout the test suite.

gc

Tests for garbage collection related functionality.

Runs on CI
No

internet

Tests that make real outbound connections (mainly networking related modules). Tests for networking related modules may also be present in other directories, but those tests do not make outbound connections.

Runs on CI
No

known_issues

Tests reproducing known issues within the system.

Runs on CI
No

message

Tests for messages that are output for various conditions (console.log, error messages etc.)

Runs on CI
Yes

parallel

Various tests that are able to be run in parallel.

Runs on CI
Yes

pummel

Various tests for various modules / system functionality operating under load.

Runs on CI
No

sequential

Various tests that are run sequentially.

Runs on CI
Yes

testpy

Test configuration utility used by various test suites.

timers

Tests for timing utilities (setTimeout and setInterval).

Runs on CI
No