Use hardhat-exposed to reduce the need for mocks (#3666)
Co-authored-by: Francisco <fg@frang.io>
This commit is contained in:
7
test/helpers/map-values.js
Normal file
7
test/helpers/map-values.js
Normal file
@ -0,0 +1,7 @@
|
||||
function mapValues(obj, fn) {
|
||||
return Object.fromEntries([...Object.entries(obj)].map(([k, v]) => [k, fn(v)]));
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
mapValues,
|
||||
};
|
||||
Reference in New Issue
Block a user