wevm / wevm/mppx

focused tests require an unavailable Tempo RPC

Open
#790 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

friction
Dominant language
TypeScript
Stars
176
Forks
66
Avg merge
1d 1h
Merged PRs (30d)
52

Description

Expected Behavior

Pure unit-test selection should run without requiring a Tempo RPC.

Current Behavior

Running a unit-only vp test command executes the global Tempo setup and fails with ECONNREFUSED at localhost:18545 when no local RPC is running.

Possible Solution

Document VITE_TEMPO_NETWORK=none for pure tests or skip global network setup when selected tests do not need it.

Minimal Reproducible Example

Run pnpm exec vp test run --project node --testNamePattern auth-param without a Tempo RPC on port 18545.

Context

This blocks focused parser unit tests until the network mode is explicitly disabled.


Logged by Brendan Ryan in wevm/mppx at 9774481. Filed by Frog.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running pnpm exec vp test run --project node --testNamePattern auth-param without a Tempo RPC and inspect the global test setup that produces the ECONNREFUSED error. Compare the behavior with VITE_TEMPO_NETWORK=none; done means focused parser unit tests run successfully without requiring a Tempo RPC.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.