2020-05-29 09:26:52 +08:00
|
|
|
// Only testing babel parsing
|
|
|
|
|
// Do not add extra parsers here
|
|
|
|
|
|
2020-10-13 09:14:02 +08:00
|
|
|
run_spec(__dirname, ["babel", "babel-ts", "babel-flow"], {
|
|
|
|
|
errors: {
|
2022-01-28 15:25:30 +08:00
|
|
|
acorn: [
|
|
|
|
|
"decimal.js",
|
|
|
|
|
"decorators.js",
|
2022-02-14 11:28:47 +09:00
|
|
|
"destructuring-private.js",
|
2022-01-28 15:25:30 +08:00
|
|
|
"do-expressions.js",
|
|
|
|
|
"export-default-from.js",
|
|
|
|
|
"flow.js",
|
|
|
|
|
"function-bind.js",
|
|
|
|
|
"function-sent.js",
|
|
|
|
|
"import-assertions-dynamic.js",
|
|
|
|
|
"import-assertions-static.js",
|
|
|
|
|
"partial-application.js",
|
|
|
|
|
"pipeline-operator-fsharp.js",
|
|
|
|
|
"pipeline-operator-minimal.js",
|
|
|
|
|
"pipeline-operator-hack.js",
|
|
|
|
|
"record-tuple-record.js",
|
|
|
|
|
"record-tuple-tuple.js",
|
|
|
|
|
"throw-expressions.js",
|
|
|
|
|
"typescript.js",
|
|
|
|
|
"v8intrinsic.js",
|
|
|
|
|
"module-blocks.js",
|
|
|
|
|
"async-do-expressions.js",
|
2022-02-07 06:15:31 +00:00
|
|
|
"regex-v-flag.js",
|
2022-01-28 15:25:30 +08:00
|
|
|
],
|
2020-10-13 09:14:02 +08:00
|
|
|
espree: [
|
|
|
|
|
"decimal.js",
|
|
|
|
|
"decorators.js",
|
2022-02-14 11:28:47 +09:00
|
|
|
"destructuring-private.js",
|
2020-10-13 09:14:02 +08:00
|
|
|
"do-expressions.js",
|
|
|
|
|
"export-default-from.js",
|
|
|
|
|
"flow.js",
|
|
|
|
|
"function-bind.js",
|
|
|
|
|
"function-sent.js",
|
2020-10-20 19:01:30 +09:00
|
|
|
"import-assertions-dynamic.js",
|
|
|
|
|
"import-assertions-static.js",
|
2020-10-13 09:14:02 +08:00
|
|
|
"partial-application.js",
|
|
|
|
|
"pipeline-operator-fsharp.js",
|
|
|
|
|
"pipeline-operator-minimal.js",
|
2021-08-15 01:16:13 +09:00
|
|
|
"pipeline-operator-hack.js",
|
2020-10-13 09:14:02 +08:00
|
|
|
"record-tuple-record.js",
|
|
|
|
|
"record-tuple-tuple.js",
|
|
|
|
|
"throw-expressions.js",
|
|
|
|
|
"typescript.js",
|
|
|
|
|
"v8intrinsic.js",
|
2021-03-25 01:19:11 +09:00
|
|
|
"module-blocks.js",
|
2021-05-06 04:32:26 +09:00
|
|
|
"async-do-expressions.js",
|
2022-02-07 06:15:31 +00:00
|
|
|
"regex-v-flag.js",
|
2020-10-13 09:14:02 +08:00
|
|
|
],
|
2020-11-05 14:08:37 +08:00
|
|
|
meriyah: [
|
|
|
|
|
"decimal.js",
|
|
|
|
|
"do-expressions.js",
|
2022-02-14 11:28:47 +09:00
|
|
|
"destructuring-private.js",
|
2020-11-05 14:08:37 +08:00
|
|
|
"export-default-from.js",
|
|
|
|
|
"flow.js",
|
|
|
|
|
"function-bind.js",
|
|
|
|
|
"function-sent.js",
|
|
|
|
|
"module-attributes-dynamic.js",
|
|
|
|
|
"module-attributes-static.js",
|
|
|
|
|
"partial-application.js",
|
|
|
|
|
"pipeline-operator-fsharp.js",
|
|
|
|
|
"pipeline-operator-minimal.js",
|
2021-08-15 01:16:13 +09:00
|
|
|
"pipeline-operator-hack.js",
|
2020-11-05 14:08:37 +08:00
|
|
|
"record-tuple-record.js",
|
|
|
|
|
"record-tuple-tuple.js",
|
|
|
|
|
"throw-expressions.js",
|
|
|
|
|
"typescript.js",
|
|
|
|
|
"v8intrinsic.js",
|
|
|
|
|
"class-static-block.js",
|
|
|
|
|
"import-assertions-dynamic.js",
|
|
|
|
|
"import-assertions-static.js",
|
|
|
|
|
"module-string-names.js",
|
2021-03-25 01:19:11 +09:00
|
|
|
"module-blocks.js",
|
2021-05-06 04:32:26 +09:00
|
|
|
"async-do-expressions.js",
|
2022-02-07 06:15:31 +00:00
|
|
|
"regex-v-flag.js",
|
2020-11-05 14:08:37 +08:00
|
|
|
],
|
2020-10-13 09:14:02 +08:00
|
|
|
},
|
|
|
|
|
});
|