-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Ignore test but re-enable Ignition core integration tests #6910
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
Conversation
|
In the CI use `pnpm test:ci` to run both the unit tests on Ignition core and the integration tests against a local Hardhat network. We force the building of everything before testing Ignition core as the integration tests use Hardhat for the network (but not within the production code).
2a9b953 to
f7196cd
Compare
We want to re-enable this test once the error message has been updated.
631579c to
abda191
Compare
| for (const abiItem of artifact.abi.filter( | ||
| // TODO: bring this test back once EDR has updated the invalid | ||
| // error message error message - I said what I said | ||
| (abi) => abi.name !== "revertWithInvalidErrorMessage" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I initially removed the method from the Solidity contract - but that implied fixing up bytecode assertions across the test suite.
| "react-dom": "^18.2.0", | ||
| "react-router-dom": "6.11.0", | ||
| "react-tooltip": "^5.21.4", | ||
| "rimraf": "^3.0.2", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a fix for npm clean in the ignition ui package.
| "test:build": "tsc --project ./test/", | ||
| "test:coverage": "nyc mocha --recursive \"test/**/*.ts\" \"test-integrations/**/*.ts\"", | ||
| "test:integrations": "mocha --recursive \"test-integrations/**/*.ts\"", | ||
| "pretest:ci": "cd ../.. && pnpm build", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can live with this for v2
There is a failing test in the Ignition core integration tests against the local network. EDR has altered the error message returned when there is a badly encoded error message.
This PR:
I chose to filter rather than remove the Solidity function as I didn't want to alter bytecode across the tests as well.
Note the CI failures are because the toolbox version updates have not been released yet.
Resolves #6908