teppeis / closure-compiler-es-compat-table

ECMAScript compatibility checker for Closure Compiler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ECMAScript compatibility checker for Closure Compiler

Test

Run kangax's ES compat-table tests for Google Closure Compiler.

Also see ECMAScript compatibility tracking issue · Issue #2899 · google/closure-compiler

Setup

$ git clone https://github.com/teppeis/closure-compiler-es-compat-table.git
$ git submodule --init update
$ npm install

Update tests

Import new tests from compat-table

$ ./update-tests.js

Run tests and update result

$ ./runjs es6             # use current installed google-closure-compiler
$ ./runjs es6/v20180402   # use google-closure-compiler@20180402
$ ./runjs es6/v20180402/syntax
$ ./runjs es6/v20180402/syntax/rest_parameters
$ ./runjs es6/v20180402/syntax/rest_parameters/basic_functionality

Update latest

$ ./update-latest.sh v20180402

About

ECMAScript compatibility checker for Closure Compiler