domenic / webidl-class-generator

Generates classes from WebIDL plus implementation code
BSD 2-Clause "Simplified" License
28 stars 1 forks source link

Fail to run check-cases.js and check-errors.js #22

Closed halton closed 8 years ago

halton commented 8 years ago
$ node test/check-cases.js 
/home/halton/work/projects/github/webidl-class-generator/test/check-cases.js:6
import generate from "..";
^^^^^^

SyntaxError: Unexpected reserved word
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:374:25)
    at Object.Module._extensions..js (module.js:417:10)
    at Module.load (module.js:344:32)
    at Function.Module._load (module.js:301:12)
    at Function.Module.runMain (module.js:442:10)
    at startup (node.js:136:18)
    at node.js:966:3

$ node test/check-errors.js 
/home/halton/work/projects/github/webidl-class-generator/test/check-errors.js:6
import generate from "..";
^^^^^^

SyntaxError: Unexpected reserved word
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:374:25)
    at Object.Module._extensions..js (module.js:417:10)
    at Module.load (module.js:344:32)
    at Function.Module._load (module.js:301:12)
    at Function.Module.runMain (module.js:442:10)
    at startup (node.js:136:18)
    at node.js:966:3
halton commented 8 years ago

Please ignore this issue, I'm aware of this test need run under mocha, will close it.