use directories for structure

This commit is contained in:
s2
2020-05-26 10:37:57 +02:00
parent 66580d4847
commit ae4aaf2668
1287 changed files with 92093 additions and 13113 deletions

28
node_modules/acorn-logical-assignment/run_test262.js generated vendored Normal file
View File

@@ -0,0 +1,28 @@
"use strict"
const path = require("path")
const run = require("test262-parser-runner")
const acorn = require("acorn")
const logicalAssignments = require(".")
const Parser = acorn.Parser.extend(logicalAssignments)
const unsupportedFeatures = [
"class-fields-private",
"class-fields-public",
"class-static-fields-public",
"class-static-fields-private",
"class-static-methods-private"
]
const implementedFeatures = [
"logical-assignment-operators"
]
run(
(content, options) => Parser.parse(content, {sourceType: options.sourceType, ecmaVersion: 11}),
{
testsDirectory: path.dirname(require.resolve("test262/package.json")),
skip: test => (!test.attrs.features || !implementedFeatures.some(f => test.attrs.features.includes(f)) || unsupportedFeatures.some(f => test.attrs.features.includes(f))),
whitelist: []
}
)