{"id":15420302,"url":"https://github.com/jakebailey/vitest-watch-mode-bug","last_synced_at":"2026-04-19T01:08:33.923Z","repository":{"id":217555281,"uuid":"744205473","full_name":"jakebailey/vitest-watch-mode-bug","owner":"jakebailey","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-16T20:38:16.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-12T22:31:53.754Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jakebailey.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2024-01-16T20:34:47.000Z","updated_at":"2024-01-16T20:35:00.000Z","dependencies_parsed_at":"2024-01-17T04:47:13.871Z","dependency_job_id":"b6f4d3e0-27bc-40b8-8f83-b6ab2df645bf","html_url":"https://github.com/jakebailey/vitest-watch-mode-bug","commit_stats":null,"previous_names":["jakebailey/vitest-watch-mode-bug"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jakebailey/vitest-watch-mode-bug","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakebailey%2Fvitest-watch-mode-bug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakebailey%2Fvitest-watch-mode-bug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakebailey%2Fvitest-watch-mode-bug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakebailey%2Fvitest-watch-mode-bug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jakebailey","download_url":"https://codeload.github.com/jakebailey/vitest-watch-mode-bug/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakebailey%2Fvitest-watch-mode-bug/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31990589,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"ssl_error","status_checked_at":"2026-04-18T20:23:29.375Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-01T17:28:53.917Z","updated_at":"2026-04-19T01:08:33.906Z","avatar_url":"https://github.com/jakebailey.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vitest-watch-mode-bug\n\n1. `pnpm install`\n1. `pnpm test`; watch mode will start\n1. Edit `index.test.ts` (e.g., replace `expect(t)` with `expect(t+1)`).\n1. Watch mode will re-run the test and fail, as expected.\n1. Hit `u` to update the baseline, but the progress will show all tests doubled, like:\n    ```\n\n    RERUN  update snapshot\n\n    ❯ index.test.ts (10)\n    ✓ test 0 503ms\n    ✓ test 1 504ms\n    ✓ test 2 504ms\n    ✓ test 3 504ms\n    ✓ test 4 505ms\n    ⠦ test 5\n    ⠦ test 6\n    ⠦ test 7\n    ⠦ test 8\n    ⠦ test 9\n    ❯ index.test.ts (10)\n    ✓ test 0 503ms\n    ✓ test 1 504ms\n    ✓ test 2 504ms\n    ✓ test 3 504ms\n    ✓ test 4 505ms\n    ⠴ test 5\n    ⠴ test 6\n    ⠴ test 7\n    ⠴ test 8\n    ⠴ test 9\n    ```\n    Then at the final screen, doubled again:\n    ```\n\n    RERUN  update snapshot\n\n    ✓ index.test.ts (10) 1007ms\n    ✓ index.test.ts (10) 1007ms\n\n    Snapshots  60 updated \n    Test Files  1 passed (1)\n        Tests  10 passed (10)\n    Start at  12:36:47\n    Duration  1.01s\n\n\n    PASS  Waiting for file changes...\n        press h to show help, press q to quit\n    ```\n1. Hit `r`, and the duplication goes away.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakebailey%2Fvitest-watch-mode-bug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjakebailey%2Fvitest-watch-mode-bug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakebailey%2Fvitest-watch-mode-bug/lists"}