codesandbox / codesandbox/codesandbox-client

Jest in CodeSandbox 3.0

Open
#513 45 comments 62 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

🃏 Jest 💬 Discussion
Dominant language
JavaScript
Stars
13.6k
Forks
2.4k
Avg merge
6d 19h
Merged PRs (30d)
2

Description

Creating an issue to discuss future features for Jest integration in CodeSandbox...

Jest in CodeSandbox 2.5 - issue | release

  • Unit testing
  • Mock functions
  • Snapshot testing (read only, does not create new snapshots)
  • Async runner
  • UI - watch mode, show test fail inline in editor, run tests for single suite

Jest in CodeSandbox 3

  • Snapshot saving
  • Manual mocks
  • Jest config
  • Code Coverage

Please comment in this issue with more features that should be added to the list.

cc @CompuIves

Contributor guide

Open the contributing guide

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 reviewing the linked Jest in CodeSandbox 2.5 issue and release, then compare them with the unchecked CodeSandbox 3 features listed here: snapshot saving, manual mocks, Jest config, and code coverage. The issue does not name files or tests; done would require selecting and scoping one feature before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
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.