Update the test
This commit is contained in:
parent
c0da70adf6
commit
5e3f368338
1 changed files with 14 additions and 0 deletions
|
@ -31,6 +31,20 @@ namespace Microsoft.DotNet.ProjectJsonMigration.Tests
|
|||
|
||||
mockProj.Properties.Count(p => p.Name == "OutputType").Should().Be(1);
|
||||
mockProj.Properties.First(p => p.Name == "OutputType").Value.Should().Be("Exe");
|
||||
|
||||
mockProj.Items.Count(i => i.ItemType.Equals("Compile", StringComparison.Ordinal))
|
||||
.Should().Be(1);
|
||||
mockProj.Items.Count(i =>
|
||||
i.ItemType.Equals("Compile", StringComparison.Ordinal) &&
|
||||
i.Remove.Equals("node_modules"))
|
||||
.Should().Be(1);
|
||||
|
||||
mockProj.Items.Count(i => i.ItemType.Equals("EmbeddedResource", StringComparison.Ordinal))
|
||||
.Should().Be(1);
|
||||
mockProj.Items.Count(i =>
|
||||
i.ItemType.Equals("EmbeddedResource", StringComparison.Ordinal) &&
|
||||
i.Remove.Equals("node_modules"))
|
||||
.Should().Be(1);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
|
Loading…
Reference in a new issue