Skip to content

babel/babel-test262-runner

Repository files navigation

Babel Test262

NOTE: Only linux64 and darwin64 are currently supported.

Run test262 tests on Node 0.10 using Babel 7 and core-js@3.

Installation

git clone [url of this repo] --recursive --shallow-submodules
cd babel-test262-runner
node lib/download-node

Run tests

node lib/run-tests [pattern]

[pattern] must be a substring of the path of the tests to run. For example:

node lib/run-tests arrow-function

If you want to run all the tests, run

node lib/run-tests I_AM_SURE

If you want to run against a local copy of babel repo (useful for debugging):

BABEL_PATH=../babel node lib/run-tests [pattern]

Download babel/babel master test262 artifact

node lib/download-master-artifact <optional file path>

Compare results with master

node lib/compare-results <master artifact path> <pr artifact path>

About

Run test262 tests on Node 0.10 using Babel 7 and `core-js@3`.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published