Skip to content

Commit

Permalink
Exclude some missed common contracts from coverage reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
m-Peter committed Oct 19, 2023
1 parent 51f390f commit 846aebb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/emulator_backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ var systemContracts = func() []common.AddressLocation {
"LockedTokens": serviceAddress,
"NodeVersionBeacon": serviceAddress,
"StakingProxy": serviceAddress,
"NonFungibleToken": serviceAddress,
"MetadataViews": serviceAddress,
"ViewResolver": serviceAddress,
}

locations := make([]common.AddressLocation, 0)
Expand Down
6 changes: 6 additions & 0 deletions test/test_framework_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3772,6 +3772,9 @@ func TestCoverageReportForUnitTests(t *testing.T) {
"A.0000000000000004.FlowFees",
"A.0000000000000001.ExampleNFT",
"A.0000000000000001.StakingProxy",
"A.0000000000000001.MetadataViews",
"A.0000000000000001.NonFungibleToken",
"A.0000000000000001.ViewResolver",
"I.Test",
"I.Crypto",
"s.7465737400000000000000000000000000000000000000000000000000000000",
Expand Down Expand Up @@ -3993,6 +3996,9 @@ func TestCoverageReportForIntegrationTests(t *testing.T) {
"A.0000000000000001.ExampleNFT",
"A.0000000000000001.NFTStorefrontV2",
"A.0000000000000001.NFTStorefront",
"A.0000000000000001.MetadataViews",
"A.0000000000000001.NonFungibleToken",
"A.0000000000000001.ViewResolver",
},
coverageReport.ExcludedLocationIDs(),
)
Expand Down

0 comments on commit 846aebb

Please sign in to comment.