This app provides monitoring and information features for the common freifunk user and the technical stuff of a freifunk community.
Code base is taken from a TUM Practical Course project and added here to see if Freifunk Altdorf can use it.
https://www.freifunk-altdorf.de
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
645 B
21 lines
645 B
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) |
|
} |
|
)
|
|
|