public void GetMappingBehavior_Razor() { // Arrange var documentPath = "/path/to/document.razor"; var documentSnapshot = TestDocumentSnapshot.Create(documentPath); // Act var result = RazorBreakpointSpanEndpoint.GetMappingBehavior(documentSnapshot); // Assert Assert.Equal(MappingBehavior.Strict, result); }
public void GetMappingBehavior_CSHTML() { // Arrange var documentPath = "/path/to/document.cshtml"; var documentSnapshot = TestDocumentSnapshot.Create(documentPath); // Act var result = RazorBreakpointSpanEndpoint.GetMappingBehavior(documentSnapshot); // Assert Assert.Equal(MappingBehavior.Inclusive, result); }