MetaMask / MetaMask/nonce-tracker
Convert tests from Mocha to Jest
- Dominant language
- JavaScript
- Stars
- 48
- Forks
- 27
- PR merge metrics
- No merged PRs in 30d
Description
Our other libraries use Jest and we should follow suit here as well.
- This repo should contain Jest config from the module template
- The tests should be written in Jest
- Test files should end in `.test.ts` and be placed in `src/`
- Test helper files should be placed in `tests/` (not `test/`)
- `tsconfig.json` should exclude `*.test.ts` files
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing the repository's current Mocha tests, test and tests directories, and tsconfig.json, then compare the module template's Jest configuration. Convert the tests and helpers to the requested locations and naming, update the TypeScript exclusion, and verify the test suite runs under Jest.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- build-system, testing
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 38/100