MetaMask / MetaMask/snaps

Add support for network mocking

Open
#2,099 0 comments 0 reactions 0 assignees View on GitHub
area-snaps-jest snaps-test snaps-unrefined-backlog
Dominant language
TypeScript
Stars
853
Forks
662
Avg merge
2d 8h
Merged PRs (30d)
8

Description

`snaps-jest` v4 (current at the time of writing) has support for network mocking, but this will be removed in v5 due to limitations in the Node.js executor. We should consider new ways to add network mocking back to v5.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the network-mocking support in snaps-jest v4 and the Node.js executor limitations that prevent carrying it into v5. Define a viable way to restore network mocking in v5 and document how its behavior should be verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
networking, testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.