Co-authored-by: fisker <lionkay@gmail.com> # Conflicts: # tests/format/js/deferred-import-evaluation/__snapshots__/format.test.js.snap # tests/format/js/deferred-import-evaluation/format.test.js
17 lines
395 B
JavaScript
17 lines
395 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,
|
|
meriyah: importDeferTests,
|
|
flow: importDeferTests,
|
|
hermes: importDeferTests,
|
|
},
|
|
});
|