~~ lineWidth: 40, exportDeclaration.preferSingleLine: true ~~
== should format on a single line when short enough ==
export {
    n1,
    n2,
    n3,
} from "test";

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

== should format on multiple lines when long enough ==
export {
    test1,
    test2,
    test3,
} from "test";

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

== should format on multiple lines when short enough, but there's a comment ==
export {
    testing, // 1
} from "test";

[expect]
export {
    testing, // 1
} from "test";
