Files
test-repo/tests/format/js/deferred-import-evaluation/format.test.js
T

16 lines
364 B
JavaScript

const importDeferTests = [
"import-defer.js",
"import-defer-attributes-declaration.js",
"dynamic-import.js",
"dynamic-import-attributes-expression.js",
];
runFormatTest(import.meta, ["babel", "typescript", "flow"], {
errors: {
acorn: importDeferTests,
espree: importDeferTests,
flow: importDeferTests,
hermes: importDeferTests,
},
});