Skip to content

feat(svm): add svm test node hook at root level #1037

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

Merged
merged 2 commits into from
May 15, 2025

Conversation

md0x
Copy link
Contributor

@md0x md0x commented May 14, 2025

Changes proposed in this PR:

  • Add svm test node hook at root level

Signed-off-by: Pablo Maldonado <pablomaldonadoturci@gmail.com>
describe("getMulticall3", async () => {
const provider = (await ethers.getSigners()).at(0).provider;
describe("getMulticall3", function () {
let provider;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Unrelated, but having an async test prevented me from using the only option to run specific tests. Moving the async initialization to a before hook resolved the issue and follows best practices.

Copy link
Member

Choose a reason for hiding this comment

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

good call +1

@md0x md0x marked this pull request as ready for review May 14, 2025 15:01
describe("getMulticall3", async () => {
const provider = (await ethers.getSigners()).at(0).provider;
describe("getMulticall3", function () {
let provider;
Copy link
Member

Choose a reason for hiding this comment

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

good call +1

@md0x md0x merged commit 5582642 into epic/svm-client May 15, 2025
4 checks passed
@md0x md0x deleted the pablo/global-mocha-setup branch May 15, 2025 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants