MetaMask / MetaMask/extension-port-stream

Convert tests to Vitest

Open
#75 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
24
Forks
10
PR merge metrics
No merged PRs in 30d

Description

We have converted tests in the module template to Vitest. We should follow suit with this repo.

Note that this will require adding `allow-scripts` and upgrading our ESLint packages first.

- [ ] Ensure ESLint is configured for Vitest using `@metamask/eslint-config-vitest`
- [ ] Add `vite` and `vitest` as dev dependencies
- [ ] Convert existing tests to Vitest

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the module template's Vitest conversion and this repository's existing test setup. Then check the ESLint configuration and package dependencies against the issue checklist; done means the existing tests run under Vitest with the requested ESLint configuration and dependency changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
eslint, typescript, vite
Domain
testing, tooling
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.