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

feat: add testing to create-fuels #2755

Merged
merged 20 commits into from
Jul 19, 2024
Merged

Conversation

danielbate
Copy link
Contributor

@danielbate danielbate commented Jul 11, 2024

Summary

Added vitest to the create fuels template with program type testing via launchTestNode. In code documentation to support #2461.

Checklist

  • I addedtests to prove my changes
  • I updated — all the necessary docs
  • I reviewed — the entire PR myself, using the GitHub UI
  • I described — all breaking changes and the Migration Guide

@danielbate danielbate added the feat Issue is a feature label Jul 11, 2024
@danielbate danielbate added this to the 0.x post-launch milestone Jul 11, 2024
@danielbate danielbate self-assigned this Jul 11, 2024
@danielbate danielbate changed the title Db/feat/create fuels testing feat: add testing to create-fuels Jul 11, 2024
Copy link
Contributor

@petertonysmith94 petertonysmith94 left a comment

Choose a reason for hiding this comment

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

I'd suggest syncing the changes from the template into apps/create-fuels-counter-guide.

Then adding the decrement_counter.test.ts test to create-fuels-counter-guide/test/contract.test.ts.

Otherwise, lovely jurb! 🚀

@arboleya arboleya modified the milestones: 0.x post-launch, 0.x mainnet Jul 15, 2024
@danielbate
Copy link
Contributor Author

I'd suggest syncing the changes from the template into apps/create-fuels-counter-guide.

@petertonysmith94 done 👍🏻

Copy link

vercel bot commented Jul 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
fuels-ts ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 18, 2024 9:23am

* chore: improving functionality for create fuels testing

* chore: added missing `templateName`

* chore: ensure that tests-find detects the comments
Copy link
Contributor

Coverage Report:

Lines Branches Functions Statements
79.39%(+0.03%) 71.62%(-0.03%) 77.32%(+0.02%) 79.52%(+0.03%)
Changed Files:
Ok File (✨=New File) Lines Branches Functions Statements
🔴 packages/create-fuels/src/cli.ts 85.5%
(+0.21%)
37.5%
(-2.5%)
100%
(+0%)
85.5%
(+0.21%)

@arboleya arboleya removed this from the 0.x mainnet milestone Jul 19, 2024
@petertonysmith94 petertonysmith94 merged commit 740f1ae into master Jul 19, 2024
20 checks passed
@petertonysmith94 petertonysmith94 deleted the db/feat/create-fuels-testing branch July 19, 2024 15:28
@petertonysmith94 petertonysmith94 mentioned this pull request Jul 26, 2024
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat Issue is a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Integrate launchTestNode into templates
5 participants