Files
test-repo/tests/format/js/babel-plugins/jsfmt.spec.js
T
Sosuke Suzuki 8c49fd0f6f Support destructuring private proposal (#12276)
* Enable `destructuringPrivate` plugiin

* Add tests

* Add changelog

* Add more tests
2022-02-14 11:28:47 +09:00

83 lines
2.2 KiB
JavaScript

// Only testing babel parsing
// Do not add extra parsers here
run_spec(__dirname, ["babel", "babel-ts", "babel-flow"], {
errors: {
acorn: [
"decimal.js",
"decorators.js",
"destructuring-private.js",
"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",
"regex-v-flag.js",
],
espree: [
"decimal.js",
"decorators.js",
"destructuring-private.js",
"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",
"regex-v-flag.js",
],
meriyah: [
"decimal.js",
"do-expressions.js",
"destructuring-private.js",
"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",
"pipeline-operator-hack.js",
"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",
"module-blocks.js",
"async-do-expressions.js",
"regex-v-flag.js",
],
},
});