-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Insights: vitest-dev/vitest
Overview
Could not load contribution data
Please try again later
1 Release published by 1 person
-
v2.1.2
published
Oct 2, 2024
35 Pull requests merged by 7 people
-
docs: add VoidZero as special sponsor
#6639 merged
Oct 4, 2024 -
fix(vitest): deprecate old task types and node-reliant types
#6632 merged
Oct 3, 2024 -
chore: update lit example to use the new locators API
#6628 merged
Oct 3, 2024 -
fix(vitest): don't hang with maxConcurrency 0
#6627 merged
Oct 3, 2024 -
docs: update examples links
#6631 merged
Oct 3, 2024 -
fix(vitest): deprecate UserConfig in favor of ViteUserConfig
#6626 merged
Oct 3, 2024 -
refactor: remove jsx examples in favour of browser examples
#6630 merged
Oct 3, 2024 -
fix(browser): provide aria role intellisense
#6629 merged
Oct 3, 2024 -
chore: remove unused code
#6625 merged
Oct 3, 2024 -
test: refactor browser test utils
#6624 merged
Oct 3, 2024 -
fix(web-worker): share mocker with main executor
#6623 merged
Oct 3, 2024 -
fix(expect): preserve prototype in
toMatchObject
diff#6620 merged
Oct 3, 2024 -
fix(browser): throw an error if "@vitest/browser/context" is imported outside of the browser mode
#6570 merged
Oct 2, 2024 -
fix(vitest): don't start a websocket server if api is disabled
#6617 merged
Oct 2, 2024 -
docs: document how to mock class and its methods
#6615 merged
Oct 2, 2024 -
fix(vitest): make env.SSR consistent between different pools
#6616 merged
Oct 2, 2024 -
fix(vitest): install dependencies with the same version when prompted
#6611 merged
Oct 2, 2024 -
chore: specify "release" job name in CR
#6612 merged
Oct 2, 2024 -
docs: clarify expect.toMatchFileSnapshot
#6610 merged
Oct 2, 2024 -
fix(workspace): ignore DS_Store by default
#6571 merged
Oct 2, 2024 -
chore(deps): update dependency @rollup/plugin-commonjs to v28
#6595 merged
Oct 2, 2024 -
fix(coverage):
cleanOnRerun: false
to invalidate previous results#6592 merged
Oct 2, 2024 -
fix(runner): run
onTestFinished
andonTestFailed
duringretry
andrepeats
#6609 merged
Oct 2, 2024 -
refactor: replace
strip-ansi
withstripVTControlCharacters
fromnode:util
#6608 merged
Oct 2, 2024 -
chore: add
pkg.pr.new
#6362 merged
Oct 1, 2024 -
docs: mention
state.getFiles
API#6607 merged
Oct 1, 2024 -
Link to default config for test timeout
#6603 merged
Oct 1, 2024 -
docs: clarify vi.setSystemTime
#6605 merged
Oct 1, 2024 -
fix(runner): guard test hook callback
#6604 merged
Oct 1, 2024 -
docs: link the regular guide from the advanced page
#6602 merged
Oct 1, 2024 -
fix(runner): fix fixture parsing of lowered async syntax for non arrow functions
#6575 merged
Oct 1, 2024 -
docs: deprecate
benchmark.outputFile
option#6591 merged
Sep 30, 2024 -
docs: apply breaking changes of
actions/upload-artifact@v4
to example#6597 merged
Sep 30, 2024 -
docs: add Profiling Test Performance guide
#6555 merged
Sep 30, 2024
4 Pull requests opened by 3 people
-
chore(deps): update tinyglobby and use `isDynamicPattern`
#6600 opened
Oct 1, 2024 -
feat(vitest): include `coverageMap` in json report
#6606 opened
Oct 1, 2024 -
fix(browser): not.toBeInTheDocument works with locators API
#6634 opened
Oct 3, 2024 -
feat(vitest,ui): allow run individual tests/suites from the UI
#6641 opened
Oct 4, 2024
68 Issues closed by 8 people
-
Load coverage packages from the same place where Vitest package is located
#6542 closed
Oct 4, 2024 -
SyntaxError: The requested module '@vitest/browser/context' does not provide an export named 'page'
#6525 closed
Oct 3, 2024 -
maxCurrency of zero hangs vitest
#6599 closed
Oct 3, 2024 -
docs: links to missing examples in README
#5878 closed
Oct 3, 2024 -
SpyOn a module function imported by a web worker stops working in 2.1.0-beta.7/2.1.0/2.1.1
#6566 closed
Oct 3, 2024 -
Expect `toMatchObject` diff to match object type
#6580 closed
Oct 3, 2024 -
Zombie browser process from the prevoius run connects to vitest WebSocket endpoint
#5165 closed
Oct 3, 2024 -
Add an example of vue component testing via browser mode with playwright
#3154 closed
Oct 2, 2024 -
Only with `--threads=false` option is `process.exitCode` affected
#3023 closed
Oct 2, 2024 -
API Server is always listening, even if disabled
#5474 closed
Oct 2, 2024 -
When vite-node runs the script, the parameters should be passed transparently
#3571 closed
Oct 2, 2024 -
在使用vitest编写单测模块时,抛出错误模块与编写模块不一致
#5413 closed
Oct 2, 2024 -
Document how to mock a class, an instance, a method in a class
#5638 closed
Oct 2, 2024 -
Inconsistent `import.meta.env.SSR` (`false` on `vmThreads` pool and `true` on other pools)
#5562 closed
Oct 2, 2024 -
Changing import path causes component to be imported as undefined and an error occurs
#3677 closed
Oct 2, 2024 -
browser mode domoperation is invisible
#5568 closed
Oct 2, 2024 -
Docs website bug - resets scroll to top of page
#5302 closed
Oct 2, 2024 -
Missing input elements from Form event in Submit handler
#5699 closed
Oct 2, 2024 -
Mixing browser and non-browser projects in vitest workspace causes error
#5734 closed
Oct 2, 2024 -
MockedFunction type doesn't overlap the type of generic functions
#1781 closed
Oct 2, 2024 -
Additional type definitions are ignored
#5760 closed
Oct 2, 2024 -
vi.stubEnv documentation and typing differ from each other
#5763 closed
Oct 2, 2024 -
Range.compareBoundaryPoints should throw error
#5788 closed
Oct 2, 2024 -
Vitest should install correct ui/browser package versions via CLI
#5855 closed
Oct 2, 2024 -
docs: clarify need to await `expect.toMatchFileSnapshot`
#5859 closed
Oct 2, 2024 -
console.log is sometimes(!) not sent to stdout
#6062 closed
Oct 2, 2024 -
UI coverage list filters/shrinks during watch
#6225 closed
Oct 2, 2024 -
Coverage `cleanOnRerun: false` causes crash
#5521 closed
Oct 2, 2024 -
`onTestFinished` should run after each repeat not after all the repeats are done
#5869 closed
Oct 2, 2024 -
Unable to resolve correctly for `node_moduels` soft links on Windows
#4841 closed
Oct 1, 2024 -
A Node API to get testing results from the Vitest instance
#4257 closed
Oct 1, 2024 -
More explicit message for the "first argument must use object destructuring pattern"
#4621 closed
Oct 1, 2024 -
Docs: missing info about `defineConfig()` merging user configs with default configs
#4423 closed
Oct 1, 2024 -
Retrieve result from tests
#2343 closed
Oct 1, 2024 -
Improve CLI usage documentation
#2291 closed
Oct 1, 2024 -
Vitest seems resolved duplicate copies of same package and broke react context singleton
#4180 closed
Oct 1, 2024 -
The position of a variable caused the test run to fail, which is strange
#4100 closed
Oct 1, 2024 -
vitest crashes silently with long async test on windows
#2045 closed
Oct 1, 2024 -
tests are successful but process ends with error
#2415 closed
Oct 1, 2024 -
[OTHER] Update the Code of Conduct
#3793 closed
Oct 1, 2024 -
Introduce TestContext.addWatchFile or TestContext.readFile
#3378 closed
Oct 1, 2024 -
不能模拟触发动画事件transitionend、webkitTransitionEnd
#3797 closed
Oct 1, 2024 -
[vite-node] Global variable collision when 2 packages define the same variable
#3782 closed
Oct 1, 2024 -
Mismatched JSDOM version?
#3756 closed
Oct 1, 2024 -
slowHijackESM affects how import works
#3600 closed
Oct 1, 2024 -
Vitest UI support for multi-package views
#3639 closed
Oct 1, 2024 -
Terminal output obscures user prompts
#1447 closed
Oct 1, 2024 -
docs: describe vi.setSystemTime string parameter
#3432 closed
Oct 1, 2024 -
Vitest fails when Vite config has "preserveSymlinks: true" when using pnpm
#1493 closed
Oct 1, 2024 -
Unhelpful error when executing malformed TestAction
#3092 closed
Oct 1, 2024 -
Types are not actually Jest compatible
#3146 closed
Oct 1, 2024 -
[Docs] Suggest the right place for users to be from Test Runners page
#2984 closed
Oct 1, 2024 -
resetModules does not restore state
#3058 closed
Oct 1, 2024 -
c8 ignore reports different coverage for js and ts file
#2933 closed
Oct 1, 2024 -
Localized test runner
#123 closed
Oct 1, 2024 -
`import` statements within `vitest.workspace` can't import `.ts` files using the `.js` extension
#6519 closed
Oct 1, 2024 -
Differences in import behavior between vitest and vite-node
#6601 closed
Oct 1, 2024 -
[ benchmark ] unable to use the json reporter
#5953 closed
Sep 30, 2024 -
Dynamic mock of timezone
#6596 closed
Sep 30, 2024 -
Vitest reports invalid coverage if `isolate` is false
#3846 closed
Sep 30, 2024 -
Error: getaddrinfo ENOTFOUND localhost
#6576 closed
Sep 30, 2024 -
When using Workspace - Run in the Context of the Project
#6474 closed
Sep 29, 2024 -
Tests are not properly isolated in browser mode
#6588 closed
Sep 28, 2024
11 Issues opened by 10 people
-
Import discrepancy versus node (and tsx)
#6640 opened
Oct 4, 2024 -
[UI] Allow running individual tests/suites
#6638 opened
Oct 4, 2024 -
Disable screenshot file creation when getting base64
#6637 opened
Oct 3, 2024 -
vitest with prisma failing randomly in CI
#6635 opened
Oct 3, 2024 -
Mocks are lost when reruning the tests in browser mode when using MSW
#6633 opened
Oct 3, 2024 -
unexpected `<empty line>` logs when interleaving `console.log` and `console.error`
#6621 opened
Oct 3, 2024 -
Expected / actual diff is not show if expected undefined
#6619 opened
Oct 2, 2024 -
toThrowError() treats empty string param as though it is undefined
#6618 opened
Oct 2, 2024 -
Rollup plugin warnings are not shown
#6598 opened
Sep 30, 2024 -
[Bug] Terminal output is cut off while async test is executing
#6590 opened
Sep 29, 2024 -
--retry=2 gives wrong error: toMatchInlineSnapshot cannot be called multiple times at the same location
#6589 opened
Sep 28, 2024
40 Unresolved conversations
Sometimes conversations happen on old items that aren’t yet closed. Here is a list of all the Issues and Pull Requests with unresolved conversations.
-
Amazing new locators in 2.1 beta don't seem to work with the interactivity API
#6449 commented on
Sep 29, 2024 • 0 new comments -
Support visual regression in the browser
#6265 commented on
Sep 30, 2024 • 0 new comments -
0.34.3 doens't work with `Uint8Array` and `TextEncoder`
#4043 commented on
Sep 30, 2024 • 0 new comments -
Browser tests break when importing path-to-regexp@8 and mocking modules in React tests
#6540 commented on
Sep 30, 2024 • 0 new comments -
Add `aroundEach` Hook Similar to RSpec `around`
#5728 commented on
Sep 30, 2024 • 0 new comments -
[Feature Request] Extend `vi.fn`
#756 commented on
Oct 1, 2024 • 0 new comments -
.doMock won't mock if called from an imported module
#3284 commented on
Oct 1, 2024 • 0 new comments -
Hooks not working when loaded from an external vitest.setup.js file
#3403 commented on
Oct 1, 2024 • 0 new comments -
vite-node --watch doesn't update some files immediately
#3464 commented on
Oct 1, 2024 • 0 new comments -
[Idea] Test Level (Error, Warn, Info)
#1743 commented on
Oct 1, 2024 • 0 new comments -
Please Add The Ability To Define Custom Test Trigger Patterns
#6457 commented on
Oct 1, 2024 • 0 new comments -
Feature request: loop test run until failure for watch mode
#2040 commented on
Oct 1, 2024 • 0 new comments -
[Windows] Vitest can not run in folders that are symlinked
#4101 commented on
Oct 1, 2024 • 0 new comments -
Don't expand large diffs by default
#4385 commented on
Oct 1, 2024 • 0 new comments -
Display Snapshot of the component in Vitest UI
#4060 commented on
Oct 1, 2024 • 0 new comments -
Support for ctx.todo()
#6212 commented on
Oct 2, 2024 • 0 new comments -
coverage-v8 reports incorrect coverage when using multiple environments
#5783 commented on
Oct 2, 2024 • 0 new comments -
Add `vi.createMockFromModule` (Like `jest.createMockFromModule`)
#5482 commented on
Oct 2, 2024 • 0 new comments -
Support it() as well for bench
#5766 commented on
Oct 2, 2024 • 0 new comments -
TypeError on the Debugger after assigning a `Set` in a constructor
#5773 commented on
Oct 2, 2024 • 0 new comments -
`toEqual/toStrictEqual` does not check custom Error properties
#5244 commented on
Oct 2, 2024 • 0 new comments -
Components styled with emotion do not get theme from material theme provider
#5664 commented on
Oct 2, 2024 • 0 new comments -
Automatic expect tracking for concurrent tests
#5665 commented on
Oct 2, 2024 • 0 new comments -
Debugger stops at at end of file when "stepping into"
#5569 commented on
Oct 2, 2024 • 0 new comments -
Hidden node_modules dependencies in Module Graph
#5363 commented on
Oct 2, 2024 • 0 new comments -
Better error messages
#4011 commented on
Oct 2, 2024 • 0 new comments -
Automatic type-checking of mock modules
#5257 commented on
Oct 2, 2024 • 0 new comments -
Type `Promisify<...>` has no call signatures
#2866 commented on
Oct 2, 2024 • 0 new comments -
Add `.next` and `.turbo` to defaultExclude
#5579 commented on
Oct 2, 2024 • 0 new comments -
Using `vitest/importMeta` leaks Node types to web applications
#5481 commented on
Oct 3, 2024 • 0 new comments -
Secondary `resolveId` calls on virtual modules
#6406 commented on
Oct 3, 2024 • 0 new comments -
Error in Browser mode x Node APIs
#6293 commented on
Oct 3, 2024 • 0 new comments -
Dependency Dashboard
#957 commented on
Oct 3, 2024 • 0 new comments -
chained methods do not have correct ExtraContext
#2892 commented on
Oct 4, 2024 • 0 new comments -
ci: add clean cache and pull request title validation workflow
#3877 commented on
Oct 2, 2024 • 0 new comments -
feat(expect): add `toHaveBeenCalledAfter` and `toHaveBeenCalledBefore` utility
#6056 commented on
Oct 2, 2024 • 0 new comments -
chore(deps): bump expect-type to 0.20.0-0
#6349 commented on
Oct 3, 2024 • 0 new comments -
chore(deps): update webdriverio monorepo to v9 (major)
#6398 commented on
Oct 3, 2024 • 0 new comments -
refactor: proposal for the public Vitest API
#6405 commented on
Oct 3, 2024 • 0 new comments -
fix(browser): scale iframe for non ui case
#6512 commented on
Oct 3, 2024 • 0 new comments