~~ lineWidth: 40, exportDeclaration.preferHanging: true ~~
== should format when using many named exports ==
export {n1,n2,n3} from    "test"  ;

[expect]
export { n1, n2, n3 } from "test";

== should format when using many named exports that go over the line width ==
export { n1, n2,   n3,   n4  , n5, n6} from   "test";

[expect]
export { n1, n2, n3, n4, n5,
    n6 } from "test";

== should not format with newlines if the first is on a different line since preferSingleLine is true by default for export decls ==
export {
    n1, n2,   n3,   n4  , n5, n6} from   "test";

[expect]
export { n1, n2, n3, n4, n5,
    n6 } from "test";

== should always do a newline as a unit ==
export { test1, test2, test3 as alias } from "test";

[expect]
export { test1, test2,
    test3 as alias } from "test";

== should break up on `as` when really long on the same line ==
export { loooooooooooooonnnnnnngggggggg as alias, t } from "test";

[expect]
export {
    loooooooooooooonnnnnnngggggggg
        as alias,
    t,
} from "test";

== should break up on `as` when really long on a different line ==
export {
    loooooooooooooonnnnnnngggggggg as alias,
    t
} from "test";

[expect]
export {
    loooooooooooooonnnnnnngggggggg
        as alias,
    t,
} from "test";
