Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can not use with 'hardhat-deploy' #640

Closed
GeekBerry opened this issue Jun 25, 2021 · 1 comment · Fixed by #647
Closed

can not use with 'hardhat-deploy' #640

GeekBerry opened this issue Jun 25, 2021 · 1 comment · Fixed by #647

Comments

@GeekBerry
Copy link

// ./deploy/00_deploy.js
module.exports = async () => {
  console.log('deploy executed');
};
// ./test/xxx.test.js

before(async function () {
  await deployments.fixture();
  console.log('deployments.fixture');
});

npx hardhat coverage
deployments.fixture

npx hardhat test
deploy executed
deployments.fixture

just console out "deployments.fixture" but not "deploy executed"
'deployments.fixture()' not load deploy using solidity-coverage

@penandlim
Copy link

A possible solution/workaround is being discussed at hardest-deploy repo.

wighawag/hardhat-deploy#132 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants