Skip to content

Commit

Permalink
test: remove mock test files from coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
yan-man committed Sep 11, 2024
1 parent 655b0b0 commit d0f89f2
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/test/mocks/MockERC4626.sol
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,9 @@ contract MockERC4626 is ERC4626 {
string memory symbol,
address asset
) ERC4626(IERC20(asset)) ERC20(name, symbol) {}

function test_coverage_ignore() public virtual {
// Intentionally left blank.
// Excludes contract from coverage.
}
}
5 changes: 5 additions & 0 deletions src/test/mocks/MockGsmFailedBuyAssetRemainingGhoBalance.sol
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@ contract MockGsmFailedBuyAssetRemainingGhoBalance is
_;
}

function test_coverage_ignore() public virtual {
// Intentionally left blank.
// Excludes contract from coverage.
}

/**
* @dev Constructor
* @param ghoToken The address of the GHO token contract
Expand Down
5 changes: 5 additions & 0 deletions src/test/mocks/MockGsmFailedGetGhoAmountForBuyAsset.sol
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@ contract MockGsmFailedGetGhoAmountForBuyAsset is
_;
}

function test_coverage_ignore() public virtual {
// Intentionally left blank.
// Excludes contract from coverage.
}

/**
* @dev Constructor
* @param ghoToken The address of the GHO token contract
Expand Down
5 changes: 5 additions & 0 deletions src/test/mocks/MockGsmFailedSellAssetRemainingGhoBalance.sol
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@ contract MockGsmFailedSellAssetRemainingGhoBalance is
_;
}

function test_coverage_ignore() public virtual {
// Intentionally left blank.
// Excludes contract from coverage.
}

/**
* @dev Constructor
* @param ghoToken The address of the GHO token contract
Expand Down
5 changes: 5 additions & 0 deletions src/test/mocks/MockUpgradeable.sol
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ contract MockUpgradeable is Initializable {
// Intentionally left bank
}

function test_coverage_ignore() public virtual {
// Intentionally left blank.
// Excludes contract from coverage.
}

/**
* @dev Initializer
*/
Expand Down

0 comments on commit d0f89f2

Please sign in to comment.