Skip to content

Commit

Permalink
add: update hardhat.config incl mocha object
Browse files Browse the repository at this point in the history
  • Loading branch information
atkinsonholly committed Jun 25, 2024
1 parent 447c906 commit f069820
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions packages/marketplace/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,6 @@ const config: HardhatUserConfig = {
},
},
},
{
version: '0.8.19',
settings: {
optimizer: {
enabled: true,
runs: 2000,
},
},
},
],
},
contractSizer: {
Expand All @@ -40,5 +31,8 @@ const config: HardhatUserConfig = {
enabled: true,
excludeContracts: ['mocks', '@openzeppelin'],
},
mocha: {
...(!process.env.CI ? {} : {invert: true, grep: '@skip-on-ci'}),
},
};
export default config;

1 comment on commit f069820

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage for this commit

97.75%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
packages/marketplace/contracts
   Exchange.sol91.55%86.67%94.12%95.83%105, 111, 117, 178, 63
   ExchangeCore.sol98.84%96.67%100%100%85
   OrderValidator.sol96.83%92.86%100%100%107, 36
   RoyaltiesRegistry.sol96.32%88.89%100%98.78%191, 213–214, 260, 65
   TransferManager.sol94.80%85.71%100%99.01%176, 179, 275, 281, 296, 308–309, 320, 90
   Whitelist.sol75.81%60%85.71%82.14%103, 107–108, 121, 124, 140–141, 53, 65, 65–66, 70, 75
packages/marketplace/contracts/interfaces
   IOrderValidator.sol100%100%100%100%
   IRoyaltiesProvider.sol100%100%100%100%
   ITransferManager.sol100%100%100%100%
   IWhitelist.sol100%100%100%100%
packages/marketplace/contracts/libraries
   LibAsset.sol100%100%100%100%
   LibMath.sol100%100%100%100%
   LibOrder.sol100%100%100%100%

Please sign in to comment.