0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test
Michaël Zasso 29da8cf8d7 util: make inherits work with classes
The current implementation overwrites the prototype of the target
constructor. It is not allowed with ES2015 classes because the prototype
property is read only. Use Object.setPrototypeOf instead.

Fixes: https://github.com/nodejs/node/issues/3452
PR-URL: https://github.com/nodejs/node/pull/3455
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2015-10-27 06:40:05 +01:00
..
abort
addons test: add node::MakeCallback() test coverage 2015-10-23 18:43:06 +02:00
cctest
debugger test: load common.js in all tests 2015-10-06 15:11:47 -07:00
disabled
fixtures util: Remove p, has been deprecated for years 2015-10-19 20:52:56 +02:00
gc
internet test: print helpful err msg on test-dns-ipv6.js 2015-10-25 09:39:02 -07:00
message test: remove flaky status from eval_messages test 2015-10-20 12:16:00 -07:00
parallel util: make inherits work with classes 2015-10-27 06:40:05 +01:00
pummel test: wrap assert.fail when passed to callback 2015-10-24 14:42:41 -07:00
sequential test: wrap assert.fail when passed to callback 2015-10-24 14:42:41 -07:00
testpy
timers
.eslintrc test: make common.js mandatory via linting rule 2015-10-06 15:11:58 -07:00
common.js test: wrap assert.fail when passed to callback 2015-10-24 14:42:41 -07:00