* Update * Use error codes instead of error messages * Update js tests * Update ts tests * Add comments * Remove plugins enabled by default * update misc error tests * Remove moduleStringNmaes * use allowedMessagesCode directly * Remove some misc tests * Update snapshots for integration tests * Add Redeclaration to cspell.json
59 lines
1.6 KiB
JavaScript
59 lines
1.6 KiB
JavaScript
// Only testing babel parsing
|
|
// Do not add extra parsers here
|
|
|
|
run_spec(__dirname, ["babel", "babel-ts", "babel-flow"], {
|
|
errors: {
|
|
"babel-ts": ["class-static-block.js"],
|
|
espree: [
|
|
"class-properties.js",
|
|
"decimal.js",
|
|
"decorators.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-smart.js",
|
|
"private-fields-in-in.js",
|
|
"private-methods.js",
|
|
"record-tuple-record.js",
|
|
"record-tuple-tuple.js",
|
|
"throw-expressions.js",
|
|
"typescript.js",
|
|
"v8intrinsic.js",
|
|
"module-string-names.js",
|
|
"class-static-block.js",
|
|
"module-blocks.js",
|
|
],
|
|
meriyah: [
|
|
"decimal.js",
|
|
"do-expressions.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-smart.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",
|
|
],
|
|
},
|
|
});
|