-
Notifications
You must be signed in to change notification settings - Fork 98
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] Create unit tests of useScaffoldStarkProfile.ts
#379
Comments
@metalboyrick can I work on this? |
Hello Fab here, I work as a Full Stack using Python and JavaScript frameworks such as React and Vue where I have created unit and integrations tests with its corresponding mocks using Jest in my day to day work. I usually structure the unit tests using AAA approach (Arrange, Act, Assert). With that in mind I think this can be easily tackled and I would love to contribute for the first time to this project :) |
i'm a frontend dev and blockchain dev |
I'd be happy to do this. |
Can I work on this, please? |
Hi, please can I be assigned this please? I would love to be the given the opportunity to solve this issue please. I am good with tests and I have experience in html, css, JavaScript,TypeScript and solidity, and Cairo Kindly assign me please. |
Hello @metalboyrick May I take this issue on? |
May I take this issue on? |
Would love to tackle this! |
Hi, ETA: |
To address the problem, I would Use Vitest for unit tests and refer to the documentation of Vitest for syntax. Then import hooks testing utilities from @testing-library/react along with mock dependencies. Clear, portable tests: Validate across devices. Ensure it.only() is removed before submission of the PR. |
Let me handle this issue! I want to learn more about these issues and this one gonna help me a lot. Also, I'm a member of the community Dojo Coding. |
Hi, |
Hey, I'm a dev with 20 years of XP, super comfy with TypeScript, React/Next, Dapps, Prisma, CI/CD. I ship fast and high-quality stuff. Worked with AFK and GoStarkMe, check my GitHub profile for more details (got several hackathon prizes). Down to handle this task. |
I am a Full Stack Developer with a strong background in blockchain and extensive experience in Next.js/React, TypeScript, and Rust. I’ve made over 49 contributions to over 17 projects in the OnlyDust ecosystem, solving complex issues and delivering efficient, scalable solutions. I can handle this task. |
May I be assigned to this? |
I’m interested in this one. I am a full stack and blockchain developer. ETA 24 hours |
May I take care of this? |
Hey! I'm Lau Chaves, I would like to contribute to this issue! I have over 5 years of experience with JavaScript, ReactJS,React Native TypeScript, and Ruby. I’m now enthusiastic about web3 and eager to learn more! I’m also a member of Dojo Coding Costa Rica. Id follow the instructions mentioned above to do the tests :) |
Hi. I am a fullstack web developer and a recent alumni of Web3Bridge, the largest and most sought after blockchain developer community in Africa. I have extensive experience testing backend systems and smart contracts using Jest, Mocha, Chai, and Forge. I am a new contributor to OnlyDust and would love to take on this task to increase my knowledge base and contribute to open source projects. i would test the useScaffoldStarkProfile.ts component by:
I aim to complete this task within 2 days of being assigned and setting up my development environment. Thank you for the opportunity and I look forward to working with you. |
I’d like to work on this. |
Could I take a shot at this? |
May I take care of this? |
Can I take care of this issue? |
Hi, I'm a proficient blockchain developer with expertise in Cairo, Rust, Solidity, Vitest, and web development. I'll create unit tests for useScaffoldStarkProfile.ts using Vitest, ensuring >= 70% code coverage. I'll handle necessary mocking and will provide a screenshot of the coverage in the PR. Please assign this to me. Thank you! |
hey sir i would love to work on this issue |
To address the problem, I would Use Vitest for unit tests and refer to the documentation of Vitest for syntax. Then import hooks testing utilities from @testing-library/react along with mock dependencies. Clear, portable tests: Validate across devices. Ensure it.only() is removed before submission of the PR. |
am a software developer with experience in create web applications and writing test to ensure proper functionality of these applications. check the link to similar task |
I would like to work on this issue |
Thanks will open a PR soon 🚀 |
Thank you all very much for participating, @lauchaves good luck, if you have any questions you can tag us. |
Issue Overview
Unit tests required for the indicated file to ease future refactoring and feature validations.
Proposed Solutions or Ideas (more like tips and reminders)
@testing-library/react
,README.md
on how to execute the testsit.only()
to isolate tests in case you need to, but do not forget to remove it once you are submitting your PR.Code Coverage
IMPORTANT - When submitting a PR, please provide a screenshot of the coverage for the specific units you are working on. We would like to achieve >= 70 % code coverage.
Happy Hacking!
Example:
The text was updated successfully, but these errors were encountered: