Closed viniblack closed 1 week ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
web3-bootcamp-platform | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Nov 13, 2024 5:18pm |
Pull Request Summary
Type of Change
Description
This PR adds and enhances unit tests for the
Modal
component and themintNFT
function. The primary goal is to validate the correct functionality of lesson submission via the modal, including calling themintNFT
function to create an NFT. The added mocks and test setup ensure that data interactions and verifications are aligned with the lesson submission flow and NFT generation.Files included in this PR:
mintNFT
function.mintNFT
trigger function.Testing Performed
The following tests were conducted:
submitLessonInFirestore
Call in Modal: Tests lesson submission and calls themintNFT
function post-submission, ensuring lesson data is passed correctly.lessons_submissions
and execution of themintNFT
trigger.Related Issues
Checklist