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

test(contracts): re-organize smart contract tests in separate files #897

Merged
merged 1 commit into from
Dec 14, 2023

Conversation

ctrlc03
Copy link
Collaborator

@ctrlc03 ctrlc03 commented Dec 11, 2023

Currently all tests related to a Poll were inside one file (MACI.test) - these tests have been moved into their respective files, re organized and cleaned up, and a small number of test cases were added which were missing.

re #843

Copy link

netlify bot commented Dec 11, 2023

Deploy Preview for maci-typedoc ready!

Name Link
🔨 Latest commit c7ee31e
🔍 Latest deploy log https://app.netlify.com/sites/maci-typedoc/deploys/657ac849d19c6400088c5139
😎 Deploy Preview https://deploy-preview-897--maci-typedoc.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@ctrlc03 ctrlc03 self-assigned this Dec 11, 2023
Copy link
Member

@baumstern baumstern left a comment

Choose a reason for hiding this comment

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

Great work! Just left a nitpick

contracts/contracts/Poll.sol Outdated Show resolved Hide resolved
@ctrlc03 ctrlc03 force-pushed the tests/contracts branch 2 times, most recently from 3d38c90 to f9ec261 Compare December 12, 2023 09:50
@ctrlc03 ctrlc03 requested a review from kittybest December 12, 2023 09:51
Copy link
Member

@baumstern baumstern left a comment

Choose a reason for hiding this comment

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

Looks good to me! I'll leave it open for @kittybest to take a peek

@ctrlc03 ctrlc03 force-pushed the tests/contracts branch 3 times, most recently from b69e78d to ad5eac4 Compare December 12, 2023 12:57
@samajammin samajammin added this to the MACI v1.1.1 refactor milestone Dec 12, 2023
@ctrlc03 ctrlc03 force-pushed the tests/contracts branch 3 times, most recently from 70e5198 to fb9ccb9 Compare December 13, 2023 12:03
Currently all tests related to a Poll were inside one file (MACI.test) - these tests have been moved
into their respective files, re organized and cleaned up, and a small number of test cases were
added which were missing.
@ctrlc03 ctrlc03 merged commit 5781a44 into dev Dec 14, 2023
12 checks passed
@ctrlc03 ctrlc03 deleted the tests/contracts branch December 14, 2023 09:50
@ctrlc03 ctrlc03 mentioned this pull request Jan 5, 2024
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants