Files
test-repo/tests/format/js/import-attributes/format.test.js
T

27 lines
583 B
JavaScript

const errors = {
acorn: [
"dynamic-import.js",
"empty.js",
"multi-types.js",
"static-import.js",
"re-export.js",
"without-from.js",
"non-type.js",
"keyword-detect.js",
"long-sources.js",
],
espree: [
"dynamic-import.js",
"empty.js",
"multi-types.js",
"static-import.js",
"re-export.js",
"without-from.js",
"non-type.js",
"keyword-detect.js",
"long-sources.js",
],
meriyah: ["multi-types.js", "without-from.js", "keyword-detect.js"],
};
runFormatTest(import.meta, ["babel", "typescript"], { errors });