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

Add missing tests for issuance modules #21

Merged
merged 1 commit into from
Mar 13, 2023

Conversation

janndriessen
Copy link
Collaborator

  • Adds tests for all active indices to return correct issuance modules based on index.
  • Restructures test to make processing easier and quicker

Copy link
Contributor

@snake-poison snake-poison 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!

describe('getIssuanceModule() - Mainnet', () => {
test('returns basic issuance module for any other index', async () => {
const expectedAddress = BasicIssuanceModuleAddress
describe('getIssuanceModule() - Mainnet - IndexProtocol', () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't love this naming convention but I think the alternative is a lot more nesting of describe blocks which is the greater evil.

@janndriessen janndriessen merged commit d3236dc into main Mar 13, 2023
@janndriessen janndriessen deleted the task/complete-testing-issuance-modules branch March 13, 2023 16:16
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.

2 participants