hirosystems / hirosystems/token-metadata-api

test metadata fetches using mock server instead of `MockAgent`

Open
#108 0 comments 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
TypeScript
Stars
10
Forks
7
Avg merge
35m
Merged PRs (30d)
2

Description

Using undici's MockAgent overwrites the live `Agent` we use to fetch metadata. If we want to test that its config is correct, we should use a mock HTTP server instead which gets called with the real agent.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.