Sha256: cbb27f17d31c0539a106ead95485f9f36feebc54b4528cad082b71c4e084b014

Contents?: true

Size: 645 Bytes

Versions: 55

Compression:

Stored size: 645 Bytes

Contents

const fs = require("fs")
const path = require("path")
const run = require("test262-parser-runner")
const parse = require("..").parse

const unsupportedFeatures = [
  "BigInt",
  "class-fields",
  "class-fields-private",
  "class-fields-public",
  "numeric-separator-literal"
];

run(
  (content, {sourceType}) => parse(content, {sourceType, ecmaVersion: 10}),
  {
    testsDirectory: path.dirname(require.resolve("test262/package.json")),
    skip: test => (test.attrs.features && unsupportedFeatures.some(f => test.attrs.features.includes(f))),
    whitelist: fs.readFileSync("./bin/test262.whitelist", "utf8").split("\n").filter(v => v)
  }
)

Version data entries

55 entries across 53 versions & 5 rubygems

Version Path
jass-0.9.5 vendor/node_modules/acorn/bin/run_test262.js
ilog-0.4.1 node_modules/acorn/bin/run_test262.js
ilog-0.4.0 node_modules/acorn/bin/run_test262.js
ilog-0.3.3 node_modules/acorn/bin/run_test262.js
jass-0.9.4 vendor/node_modules/acorn/bin/run_test262.js
govuk_publishing_components-18.0.0 node_modules/acorn/bin/run_test262.js
govuk_publishing_components-17.21.0 node_modules/acorn/bin/run_test262.js
govuk_publishing_components-17.20.0 node_modules/acorn/bin/run_test262.js
govuk_publishing_components-17.19.1 node_modules/acorn/bin/run_test262.js
govuk_publishing_components-17.19.0 node_modules/acorn/bin/run_test262.js
govuk_publishing_components-17.18.0 node_modules/acorn/bin/run_test262.js
govuk_publishing_components-17.17.0 node_modules/acorn/bin/run_test262.js
govuk_publishing_components-17.16.0 node_modules/acorn/bin/run_test262.js
govuk_publishing_components-17.15.0 node_modules/acorn/bin/run_test262.js
govuk_publishing_components-17.14.0 node_modules/acorn/bin/run_test262.js
govuk_publishing_components-17.13.0 node_modules/acorn/bin/run_test262.js
govuk_publishing_components-17.12.2 node_modules/acorn/bin/run_test262.js
govuk_publishing_components-17.12.1 node_modules/acorn/bin/run_test262.js
govuk_publishing_components-17.12.0 node_modules/acorn/bin/run_test262.js
govuk_publishing_components-17.11.0 node_modules/acorn/bin/run_test262.js