~~ classDeclaration.bracePosition: nextLine, lineWidth: 40 ~~
== should use the next line for the brace position ==
class Test {
}

[expect]
class Test
{
}

== should use the next line for type parameters on multiple lines ==
class Test<
T, U, V> {
}

[expect]
class Test<
    T,
    U,
    V,
>
{
}

== should use the next line for the brace position when hanging ==
class Test extends SomethingReallyReallyReallyLong
{
}

[expect]
class Test
    extends SomethingReallyReallyReallyLong
{
}

== should handle export default with a name ==
export default class Test {
}

[expect]
export default class Test
{
}

== should not consider a class in an export default decl with no name as a declaration ==
export default class {
}

[expect]
export default class {
}
