Skip to content

Commit 399a160

Browse files
committed
backend frame coverage
1 parent 01b1aae commit 399a160

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/Domain/HydraScript.Domain.BackEnd/Impl/Values/Name.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
using System.Diagnostics.CodeAnalysis;
2+
13
namespace HydraScript.Domain.BackEnd.Impl.Values;
24

35
public class Name(string id, IFrame frame) : IValue
@@ -19,6 +21,7 @@ other is Name that &&
1921

2022
internal static readonly IFrame NullFrameInstance = new NullFrame();
2123

24+
[ExcludeFromCodeCoverage]
2225
private sealed class NullFrame : IFrame
2326
{
2427
public object? this[string id]

tests/HydraScript.IntegrationTests/HydraScript.IntegrationTests.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@
4747
<None Update="Samples\equals.js">
4848
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
4949
</None>
50+
<None Update="Samples\env.js">
51+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
52+
</None>
5053
<None Update="Samples\exprtest.js">
5154
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
5255
</None>

0 commit comments

Comments
 (0)