Files
meeting-assistant/MeetingAssistant.Tests/OutlookClassicMeetingMetadataProviderTests.cs
T
2026-05-20 02:06:16 +02:00

26 lines
774 B
C#

using MeetingAssistant.MeetingNotes;
namespace MeetingAssistant.Tests;
#if WINDOWS
public sealed class OutlookClassicMeetingMetadataProviderTests
{
[Fact]
public void ExtractAgendaStopsBeforeTeamsJoinInformation()
{
var agenda = OutlookClassicMeetingMetadataProvider.ExtractAgenda(
"""
Review current prototype
Decide next backend
________________________________________________________________________________
Microsoft Teams Need help?
Join the meeting now
https://teams.microsoft.com/l/meetup-join/...
""");
Assert.Equal("Review current prototype\nDecide next backend", agenda.Replace("\r\n", "\n", StringComparison.Ordinal));
}
}
#endif