Closed jkrems closed 9 years ago
For the test suite, what args do you have to spawn a node
with to get ES6 capabilities like Symbol?
I run io.js - no args required.
EDIT: But I think --harmony
should give you Symbol support in recent node 0.11 versions as well.
I guess until things mature or I get a PR, this feature might have to go in without tests.
Currently the message is "Expected: undefined, Actual: undefined" which is not very helpful. The right thing would be to call
x.toString()
ifx
is a symbol. This would print "Expected: Symbol(Some description), Actual: Symbol(Other description)".