Skip to content

Commit

Permalink
chore: remove .NET 6 target from Snapshot.Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
filzrev committed Oct 19, 2024
1 parent 89c2446 commit cd3987b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/docfx.Snapshot.Tests/SamplesTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ private class SamplesFactAttribute : FactAttribute
{
public SamplesFactAttribute()
{
// When target framework is changed.
// It need to modify TargetFrameworks property of `docfx.Snapshot.Tests.csproj`
#if !NET8_0
Skip = "Skip by target framework";
#endif
Expand Down
4 changes: 4 additions & 0 deletions test/docfx.Snapshot.Tests/docfx.Snapshot.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net8.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Playwright" />
<PackageReference Include="Verify.DiffPlex" />
Expand Down

0 comments on commit cd3987b

Please sign in to comment.