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

Improve testing of contracts #450

Merged
merged 2 commits into from
Feb 5, 2025
Merged

Improve testing of contracts #450

merged 2 commits into from
Feb 5, 2025

Conversation

pipex
Copy link
Contributor

@pipex pipex commented Dec 13, 2024

  • Migrates contracts tests to typescript
  • Parallelizes scanning of folders and loading contracts
  • Adds validation for internal consistency of the contract universe and contract combinations
  • Remove unused sw.os-image contracts (which also interferes with internal consistency)

Change-type: patch

@pipex pipex force-pushed the improve-testing branch 5 times, most recently from 24f1cda to cd3a2ae Compare December 13, 2024 21:37
@pipex pipex force-pushed the improve-testing branch 2 times, most recently from d209e16 to 0c0a485 Compare January 15, 2025 21:14
@pipex pipex requested a review from alexgg January 15, 2025 21:16
@pipex pipex force-pushed the improve-testing branch 2 times, most recently from 182185c to c05b87a Compare January 15, 2025 22:05
@flowzone-app flowzone-app bot enabled auto-merge January 15, 2025 22:08
@pipex pipex requested a review from a team January 20, 2025 14:33
Copy link
Contributor

@alexgg alexgg left a comment

Choose a reason for hiding this comment

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

I can't think of anything using the sw.os-image contract so I'm not against it. About the tests, I'm afraid I don't know enough about the repo to review. If nobody else does let me know and I can unblock with an approval, but at least a js developer should ack I think.

@pipex
Copy link
Contributor Author

pipex commented Feb 3, 2025

I can't think of anything using the sw.os-image contract so I'm not against it. About the tests, I'm afraid I don't know enough about the repo to review. If nobody else does let me know and I can unblock with an approval, but at least a js developer should ack I think.

Thank you, I thought you might say that, but I also wanted some ack that it was OK to remove the os-image contract.

@pipex pipex requested a review from klutchell February 3, 2025 20:42
tsconfig.json Outdated Show resolved Hide resolved
tests/contracts.spec.ts Outdated Show resolved Hide resolved
tests/contracts.spec.ts Outdated Show resolved Hide resolved
tests/contracts.spec.ts Outdated Show resolved Hide resolved
.husky/pre-commit Outdated Show resolved Hide resolved
pipex added 2 commits February 4, 2025 23:30
- Migrates contracts to typescript
- Parallelizes scanning of folders and loading contracts
- Adds validation for internal consistency of the contract universe

Change-type: patch
@flowzone-app flowzone-app bot merged commit ccacd51 into master Feb 5, 2025
51 checks passed
@flowzone-app flowzone-app bot deleted the improve-testing branch February 5, 2025 10:59
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