Skip to content

Commit b40f3f3

Browse files
author
Bart Koelman
committed
Exclude example project from code coverage
1 parent 6738a09 commit b40f3f3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: src/Examples/JsonApiDotNetCoreExample/Program.cs

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
using System.Diagnostics.CodeAnalysis;
12
using System.Text.Json.Serialization;
23
using JsonApiDotNetCore.Configuration;
34
using JsonApiDotNetCore.Diagnostics;
@@ -6,6 +7,8 @@
67
using Microsoft.EntityFrameworkCore;
78
using Microsoft.Extensions.DependencyInjection.Extensions;
89

10+
[assembly: ExcludeFromCodeCoverage]
11+
912
WebApplication app = CreateWebApplication(args);
1013

1114
await CreateDatabaseAsync(app.Services);

0 commit comments

Comments
 (0)