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

Remove default chain id and references to ibex #118

Merged
merged 4 commits into from
Dec 5, 2022
Merged

Conversation

theref
Copy link
Contributor

@theref theref commented Nov 29, 2022

Fixes #114 and #116

@@ -37,6 +37,13 @@ describe('conditions schema', () => {
expect(result.error).toEqual(undefined);
expect(result.value.chain).toEqual(5);
});

it('should validate chain id', async () => {
result = condition.validate({ chain: 10 });
Copy link
Contributor

Choose a reason for hiding this comment

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

We should contain all variable declarations such as result to the it(...) closure where they are being used. This prevents state-leaking across different tests.

@theref theref merged commit 4fa49fb into nucypher:main Dec 5, 2022
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.

Default Chain ID value in conditions
3 participants