Tests using the C# language server don't appear to Roslyn as having come from Razor
See https://github.com/dotnet/razor-tooling/blob/0ee3665a524a8a720cb5660b7f3e5945c8169f90/src/Razor/test/Microsoft.AspNetCore.Razor.LanguageServer.Test/AutoInsert/OnAutoInsertEndpointTest.cs#L356
Currently the RazorLanguageServerFactoryWrapper in Roslyn just uses MEF to get a LanguageServerFactory, but that means it gets the CSharpVB one, which is hardcoded to the CSharpVB server kind (https://github.com/dotnet/roslyn/blob/main/src/Features/LanguageServer/Protocol/CSharpVisualBasicLanguageServerFactory.cs#L42) so some specific Razor features can't be tested (eg, brace completion newlines in OnAutoInsert: https://github.com/dotnet/roslyn/blob/main/src/Features/LanguageServer/Protocol/Handler/OnAutoInsert/OnAutoInsertHandler.cs#L82)
Has this issue been fixed by dotnet/roslyn/pull/64642 ?
That's the "fix", but we still need to consume a version of Roslyn that has it, and un-skip the test
😁