Skip to content

Conversation

@dimalinux
Copy link

I was playing around with the initialization frontrunning example, and one of the tests was failing intentionally, but not catching the error. Another was getting skipped, because the config account couldn't be initialized twice.

I added a close instruction, so multiple tests could succeed, and I added error handling to the failure test, so the test validates failure, but doesn't fail itself.

solana_version = "2.2.12"

[features]
anchor-debug = []
Copy link
Author

Choose a reason for hiding this comment

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

Rust build warning removal

@@ -1,5 +1,6 @@
{
"license": "ISC",
"type": "module",
Copy link
Author

Choose a reason for hiding this comment

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

Typescript warning removal

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.

1 participant