Closed XGHeaven closed 8 years ago
@XGHeaven This tool does not make assumptions about how you are going to run your tests, so it does not use register.
The reason you are having trouble with syntax in your spec file likely means you are not running your tests through babel. Try running your tests with babel-node
instead of node
.
@jmcriffey
babel-node
has a bug, So I have to use node5.
class Test extends Map {
get() { return 1; }
}
new Test().get()
in babel-node
undefined
in node5
1
The first question is
Then, I have follow project:
And ,the second question is