Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
`npm test` command has been failed in old version node.js since introducing `bitint` tests. The problem is caused that old version V8 doesn't support the bigint syntax(e.g. 11n, 22n). So, we just wrap the syntax using `eval()` method to avoid the problem. /home/jinho_bang/up/test/typedarray.js:81 t[3] = 11n; ^^ SyntaxError: Invalid or unexpected token at createScript (vm.js:80:10) at Object.runInThisContext (vm.js:139:10) at Module._compile (module.js:607:28) at Object.Module._extensions..js (module.js:654:10) at Module.load (module.js:556:32) at tryModuleLoad (module.js:499:12) at Function.Module._load (module.js:491:3) at Module.require (module.js:587:17) at require (internal/module.js:11:18) at testModules.forEach.name (/home/jinho_bang/up/test/index.js:54:5) Fixes: nodejs#349
- Loading branch information