mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-02-14 07:43:31 -07:00
- Changed YouTube embed URL from embed format to watch format - Added ThumbnailUrl property to YouTubeVideoEmbedProjection using YouTube's standard thumbnail URL - Updated MessageGroupTemplate to render thumbnail image with link instead of iframe - Updated CSS to style thumbnail appropriately - Updated test to check for anchor link and thumbnail image instead of iframe Co-authored-by: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| Infra | ||
| Specs | ||
| Utils | ||
| DiscordChatExporter.Cli.Tests.csproj | ||
| Readme.md | ||
| xunit.runner.json | ||
DiscordChatExporter Tests
This test suite runs against a real Discord server, specifically created to exercise different behaviors required by the test scenarios. In order to run these tests locally, you need to join the test server and configure your authentication token.
- Join the test server
- Locate your Discord authentication token
- Add your token to user secrets:
dotnet user-secrets set DISCORD_TOKEN <token> - Run the tests:
dotnet test
Note
If you want to add a new test case, please let me know and I will give you the required permissions on the server.