From 846aebb2eb7e5160b7af054515bcdbbf4886a11a Mon Sep 17 00:00:00 2001 From: Ardit Marku Date: Thu, 19 Oct 2023 14:30:28 +0300 Subject: [PATCH] Exclude some missed common contracts from coverage reporting --- test/emulator_backend.go | 3 +++ test/test_framework_test.go | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/test/emulator_backend.go b/test/emulator_backend.go index 0af29121..40229c99 100644 --- a/test/emulator_backend.go +++ b/test/emulator_backend.go @@ -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) diff --git a/test/test_framework_test.go b/test/test_framework_test.go index 0b16bec1..414ccd11 100644 --- a/test/test_framework_test.go +++ b/test/test_framework_test.go @@ -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", @@ -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(), )