Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/babel/babel-test262-runner

Run test262 tests on Node 0.10 using Babel 7 and `core-js@3`.
https://github.com/babel/babel-test262-runner

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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
```

## Compare results with master

```
node lib/compare-results
```