-
Notifications
You must be signed in to change notification settings - Fork 8
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
Fix Highlight tests. Add quantity support & contract export #51
Conversation
PR Reviewer Guide 🔍
|
@@ -45,40 +52,39 @@ describe('highlight', function () { | |||
|
|||
it('createMintTemplateForUrl: Returns a mint template for a supported URL', async function () { | |||
const ingestor = new HighlightIngestor(); | |||
const url = 'https://highlight.xyz/mint/665fa33f07b3436991e55632'; | |||
const url = 'https://highlight.xyz/mint/66856628ff8a01fdccc132f4'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This URL for whatever reason no longer returns all data.
I suspect this may come up again in the future when others age out... favoring a long-running one for now
PR Code Suggestions ✨
|
PR Type
enhancement, tests
Description
HighlightIngestor
class.setMintOutputContract
to export contract details.highlight.test.ts
to align with the new minting logic, including changes to URLs, contract addresses, and expected values.Changes walkthrough 📝
index.ts
Enhance minting process with quantity support and contract export
src/ingestors/highlight/index.ts
setMintOutputContract
method to set mint output contractdetails.
setMintInstructions
to support quantity parameter.types.ts
Fix formatting issues in type definitions
src/ingestors/highlight/types.ts
highlight.test.ts
Update highlight ingestor tests for new minting logic
test/ingestors/highlight.test.ts
cases.