An open API service for providing issue and pull request metadata for open source projects.

GitHub / vitest-dev/vitest issues and pull requests

#7857 - docs: update onTestFailed first argument

Pull Request - State: closed - Opened by sheremet-va 4 months ago - 1 comment

#7856 - fix: correctly resolve vitest import if `inline: true` is set

Pull Request - State: closed - Opened by sheremet-va 4 months ago

#7855 - docs: clarify the custom provider API is experimental

Pull Request - State: closed - Opened by sheremet-va 4 months ago - 2 comments

#7854 - feat(browser): custom locators API

Pull Request - State: closed - Opened by sheremet-va 4 months ago - 1 comment

#7853 - docs: clarify `expect` docs

Pull Request - State: closed - Opened by sheremet-va 4 months ago - 1 comment

#7852 - feat: add `sequence.groupOrder` option

Pull Request - State: closed - Opened by sheremet-va 4 months ago - 3 comments
Labels: p2-nice-to-have

#7851 - docs: `browser.provider` link

Pull Request - State: closed - Opened by AriPerkkio 4 months ago

#7849 - docs: clarify workspace docs

Pull Request - State: closed - Opened by sheremet-va 4 months ago - 1 comment

#7848 - Alternative for jest-snapshot package

Issue - State: closed - Opened by Smrtnyk 4 months ago - 3 comments
Labels: enhancement: pending triage

#7846 - fix(vite-node): named export should overwrite export all

Pull Request - State: closed - Opened by hi-ogawa 4 months ago - 4 comments

#7843 - vitest browser: Coverage report shows missing branch coverage when using new React Compiler

Issue - State: closed - Opened by ValentinGurkov 4 months ago - 3 comments
Labels: upstream

#7842 - LinkeDOM Test Environment

Issue - State: closed - Opened by drichard-nexapp 4 months ago - 1 comment
Labels: enhancement: pending triage

#7840 - docs: Fixed typo under vi.useRealTimers section

Pull Request - State: closed - Opened by JoakJohaTech 4 months ago - 1 comment

#7839 - chore: fix lockfile

Pull Request - State: closed - Opened by hi-ogawa 4 months ago - 1 comment

#7838 - Dependency upgrade of vitest from 1.4.0 to 1.6.1 facing issue

Issue - State: closed - Opened by singhankur101 4 months ago - 1 comment
Labels: needs reproduction, pending triage

#7837 - fix!(coverage): remove `.all`, reworked `include/exclude`

Pull Request - State: closed - Opened by AriPerkkio 4 months ago - 4 comments
Labels: breaking change, feat: coverage, cr-tracked

#7836 - Facilitate drag element in browser based tests

Issue - State: open - Opened by aleoyakas 4 months ago
Labels: enhancement: pending triage

#7834 - Run failed tests in a clean environment on retry

Issue - State: open - Opened by gxxcastillo 4 months ago - 2 comments
Labels: p2-to-be-discussed, enhancement: pending triage

#7833 - docs: improve mocking classes section

Pull Request - State: closed - Opened by rodgobbi 4 months ago - 7 comments

#7831 - fix(deps): update all non-major dependencies

Pull Request - State: closed - Opened by renovate[bot] 4 months ago - 1 comment
Labels: dependencies

#7830 - chore(deps): update dependency @antfu/eslint-config to ^4.12.0

Pull Request - State: closed - Opened by renovate[bot] 4 months ago - 1 comment
Labels: dependencies

#7829 - test: reduce max thread count when vitest-in-vitest

Pull Request - State: closed - Opened by AriPerkkio 4 months ago - 1 comment

#7828 - printf formatting only includes first element of array in `test.for`

Issue - State: open - Opened by MetRonnie 4 months ago
Labels: pending triage

#7827 - React context breaks when using peerDependency in local packages with Vitest

Issue - State: closed - Opened by MatejFacko 4 months ago - 6 comments
Labels: pending triage

#7826 - Setting `VITEST_MAX_FORKS` with sharding results in `Unhandled Error`

Issue - State: closed - Opened by kettanaito 4 months ago - 3 comments
Labels: needs reproduction, pending triage

#7825 - Total test duration is wrong in `--merge-reports`

Issue - State: open - Opened by kettanaito 4 months ago
Labels: pending triage

#7824 - docs: suggest `vitest run` in `--merge-reports` usage

Pull Request - State: open - Opened by kettanaito 4 months ago - 2 comments

#7822 - upgrading @vitest/browser completely breaks tests

Issue - State: closed - Opened by m-lyon 4 months ago - 2 comments
Labels: needs reproduction, pending triage

#7820 - fix(coverage): expose profiling timers

Pull Request - State: closed - Opened by AriPerkkio 4 months ago - 1 comment

#7818 - `vitest` seems to be an issue now that we have code agents

Issue - State: closed - Opened by rhysburnie 4 months ago - 2 comments
Labels: enhancement: pending triage

#7817 - __snapshots__ wants to be in node_modules

Issue - State: closed - Opened by matthewjosephtaylor 4 months ago - 1 comment
Labels: enhancement: pending triage

#7815 - fix: fix already hoisted mock

Pull Request - State: closed - Opened by hi-ogawa 4 months ago - 1 comment

#7814 - fix: fix test.scoped inheritance

Pull Request - State: closed - Opened by hi-ogawa 4 months ago - 1 comment

#7813 - test.scoped() values are not always scoped to the current suite

Issue - State: closed - Opened by limulus 4 months ago
Labels: p3-minor-bug

#7812 - Vitest Browser Mode fails to mock functions when project folder contains spaces

Issue - State: closed - Opened by 8180e 4 months ago - 1 comment
Labels: pending triage

#7809 - feat: support custom colors for `test.name`

Pull Request - State: closed - Opened by AriPerkkio 4 months ago - 2 comments

#7807 - __vitest_browser_runner__.runTests is not a function when browser mode x customzied root

Issue - State: open - Opened by Jinjiang 4 months ago - 5 comments
Labels: pending triage

#7806 - Cannot call `toString` on a JSON module

Issue - State: closed - Opened by manzyuk 4 months ago - 6 comments
Labels: pending triage

#7805 - Duplicate function name in coverage

Issue - State: closed - Opened by orgads 4 months ago - 14 comments
Labels: upstream, feat: coverage

#7804 - `vi.spyOn + mockRestore` leaves prototype method in own properties

Issue - State: closed - Opened by hi-ogawa 4 months ago - 1 comment
Labels: p3-minor-bug

#7803 - chore(deps): update dependency eslint to ^9.24.0

Pull Request - State: closed - Opened by renovate[bot] 4 months ago - 1 comment
Labels: dependencies

#7802 - chore(deps): update all non-major dependencies

Pull Request - State: closed - Opened by renovate[bot] 4 months ago - 1 comment
Labels: dependencies

#7801 - Cannot `spyOn` inherited getters/setters

Issue - State: closed - Opened by david2tm 4 months ago
Labels: upstream, p3-minor-bug

#7800 - test: tweak timeout to fix flake

Pull Request - State: closed - Opened by hi-ogawa 4 months ago - 1 comment

#7799 - fix(runner): show stacktrace on test timeout error

Pull Request - State: closed - Opened by hi-ogawa 4 months ago - 6 comments

#7798 - Calling `spyOn` multiple times discards previous mocks

Issue - State: closed - Opened by acdibble 4 months ago - 1 comment
Labels: pending triage

#7797 - vite-node: race condition in exports resulting in empty modules

Issue - State: closed - Opened by privatenumber 4 months ago - 12 comments
Labels: upstream

#7796 - fix(ui): config option: `{ ui: true }`

Pull Request - State: closed - Opened by Jay-Karia 4 months ago - 2 comments

#7795 - fix: use happy-dom/jsdom types for `envionmentOptions`

Pull Request - State: closed - Opened by hi-ogawa 4 months ago - 6 comments
Labels: cr-tracked

#7794 - Cannot find module @aws-sdk/client-s3 with vite 6

Issue - State: closed - Opened by sorokya 4 months ago - 1 comment
Labels: pending triage

#7793 - test.scoped() does not cascade to child suites

Issue - State: closed - Opened by limulus 4 months ago - 1 comment
Labels: p3-minor-bug

#7790 - Calling sinon.useFakeTimers() inside a test causes Vitest to hang

Issue - State: open - Opened by JoshuaKGoldberg 4 months ago - 4 comments
Labels: pending triage

#7789 - fix(browser): fix mocking from outside of root

Pull Request - State: closed - Opened by hi-ogawa 4 months ago - 1 comment

#7788 - Browser mode mocking doesn't work under directory with whitespaces

Issue - State: open - Opened by hi-ogawa 4 months ago - 2 comments
Labels: feat: browser, p3-minor-bug

#7787 - Add bail option to describe block

Issue - State: open - Opened by maddie-j 4 months ago - 1 comment
Labels: enhancement: pending triage

#7786 - docs: show both test options examples

Pull Request - State: closed - Opened by sheremet-va 4 months ago - 1 comment

#7785 - refactor: use bg* colors in reporter instead of reversing

Pull Request - State: closed - Opened by sheremet-va 4 months ago - 2 comments

#7784 - Cannot access 'browser' before initialization

Issue - State: closed - Opened by Stadly 4 months ago
Labels: pending triage

#7783 - fix(browser): fix transform error before browser server initialization

Pull Request - State: closed - Opened by hi-ogawa 4 months ago - 3 comments
Labels: cr-tracked

#7782 - chore: tweak "vitest" import error message

Pull Request - State: closed - Opened by hi-ogawa 4 months ago - 1 comment

#7781 - docs(guide): update coverage.md

Pull Request - State: closed - Opened by Marijn030 4 months ago - 4 comments

#7780 - fix(spy): copy over static properties from the function

Pull Request - State: closed - Opened by sheremet-va 4 months ago - 2 comments
Labels: p2-to-be-discussed

#7778 - feat: introduce `watchTriggerPatterns` option

Pull Request - State: closed - Opened by sheremet-va 4 months ago - 1 comment

#7777 - feat(browser): add `screenshot.save` option

Pull Request - State: closed - Opened by sheremet-va 4 months ago - 1 comment

#7776 - fix(vite-node): add ERR_MODULE_NOT_FOUND code error if module cannot be loaded

Pull Request - State: closed - Opened by sheremet-va 4 months ago - 1 comment

#7775 - fix(runner): correctly call test hooks and teardown functions

Pull Request - State: closed - Opened by sheremet-va 4 months ago - 1 comment

#7773 - Enable --typecheck by default?

Issue - State: open - Opened by JoshuaKGoldberg 4 months ago
Labels: enhancement: pending triage

#7772 - Value for test.exclude is mutated in place

Issue - State: closed - Opened by jacobtylerwalls 4 months ago - 2 comments
Labels: p3-minor-bug

#7771 - fix: add global `chai` variable in `vitest/globals` (fix: #7474)

Pull Request - State: closed - Opened by Jay-Karia 4 months ago - 1 comment

#7769 - docs: Fix assertion-api.md

Pull Request - State: closed - Opened by eilskn 4 months ago - 2 comments

#7768 - Calling context.skip will skip all test fixture cleanups

Issue - State: closed - Opened by Mange 4 months ago - 1 comment
Labels: p4-important

#7767 - chore: remove `examples/sveltekit`

Pull Request - State: closed - Opened by hi-ogawa 4 months ago - 1 comment

#7766 - chore(deps): update dependency @sveltejs/adapter-auto to v5

Pull Request - State: closed - Opened by renovate[bot] 4 months ago - 1 comment
Labels: dependencies

#7765 - fix(deps): update all non-major dependencies

Pull Request - State: closed - Opened by renovate[bot] 4 months ago - 1 comment
Labels: dependencies

#7763 - fix(coverage): `await` profiler calls

Pull Request - State: closed - Opened by AriPerkkio 4 months ago - 4 comments
Labels: cr-tracked

#7762 - test: refactor coverage snapshot tests

Pull Request - State: closed - Opened by AriPerkkio 4 months ago - 1 comment

#7761 - feat: add `vi.mockObject` to automock any object

Pull Request - State: closed - Opened by hi-ogawa 4 months ago - 1 comment

#7759 - "No projects were found" error when running vitest from workspace subdirectory

Issue - State: closed - Opened by kanadgupta 4 months ago - 5 comments
Labels: p3-minor-bug, feat: workspace

#7756 - `vi.mock` at the beginning of the file does not work unless preceded with a comment

Issue - State: closed - Opened by benjaminblack 4 months ago - 2 comments
Labels: p3-minor-bug

#7755 - Disk usage too much on Mac 15.3.2 (24D81)

Issue - State: closed - Opened by shiftonetothree 4 months ago - 2 comments
Labels: needs reproduction, pending triage

#7754 - feat(api)!: report test file also as a suite

Pull Request - State: closed - Opened by sheremet-va 4 months ago - 3 comments

#7753 - [vite-node] Failed to execute file: Error: listen EADDRINUSE: address already in use :::3001

Issue - State: closed - Opened by icai 4 months ago - 2 comments
Labels: needs reproduction, pending triage

#7752 - fix(reporter): report tests in correct order

Pull Request - State: closed - Opened by sheremet-va 4 months ago - 1 comment

#7751 - refactor: remove direct imports from rollup

Pull Request - State: closed - Opened by sheremet-va 4 months ago - 1 comment

#7750 - refactor(browser): apply optimize deps plugin for rolldown

Pull Request - State: closed - Opened by sheremet-va 4 months ago - 1 comment

#7748 - Unexpected error when `server.deps.inline = true`

Issue - State: closed - Opened by Jinjiang 4 months ago - 5 comments
Labels: p3-minor-bug

#7747 - fix(browser): correctly calculate timeout in hooks when actions are performed

Pull Request - State: closed - Opened by sheremet-va 4 months ago - 1 comment

#7746 - wrong babel plugin resolution with @emotion/react

Issue - State: closed - Opened by balzss 4 months ago - 4 comments
Labels: needs reproduction, pending triage

#7745 - Custom errors get formatted as JSON objects in the console

Issue - State: closed - Opened by dmaretskyi 4 months ago - 4 comments
Labels: pending triage

#7744 - `ENAMETOOLONG` error with a long file path when `server.debug.dumpModules` flag is on

Issue - State: open - Opened by Jinjiang 4 months ago
Labels: vite-node, p3-minor-bug

#7742 - bug: fixed positioning cannot be used in vitest browser headless mode

Issue - State: closed - Opened by rxliuli 4 months ago - 6 comments
Labels: feat: browser, p3-minor-bug

#7741 - fix: fix vm tests flakiness

Pull Request - State: closed - Opened by sheremet-va 4 months ago - 2 comments

#7740 - Issue with vitest mock (and maybe importActual)

Issue - State: closed - Opened by csaunier 4 months ago - 1 comment
Labels: pending triage

#7739 - feat(vitest): support rolldown-vite in NormalizeUrlPlugin

Pull Request - State: closed - Opened by sapphi-red 4 months ago - 1 comment

#7738 - fix(reporter): print test only once in the verbose mode

Pull Request - State: closed - Opened by sheremet-va 4 months ago - 1 comment

#7736 - feat(coverage): v8 experimental AST-aware remapping

Pull Request - State: closed - Opened by AriPerkkio 4 months ago - 3 comments
Labels: cr-tracked

#7735 - What cause the extra locator in browser mode?

Issue - State: closed - Opened by hezhengxu2018 4 months ago - 1 comment
Labels: pending triage