alpha
Login
Join now
vitest.dev
/
vitest
Star
Starred
Star
Something went wrong. Try again.
Fork
0
Eye filled
Watch
Watching
Watch
[READ-ONLY] Mirror of https://github.com/vitest-dev/vitest. Next generation testing framework powered by Vite.
vitest.dev
test
testing-tools
vite
+3 more
test
testing-tools
vite
Star
Starred
Star
Something went wrong. Try again.
Fork
0
Eye filled
Watch
Watching
Watch
Overview
Overview
Issues
Issues
Pulls
Pulls
Pipelines
Pipelines
vitest
/
test
/
unit
/
test
4 folders
·
188 files
at
fix/browser-non-isolated-mock-conflicts
Prajwal Janbandhu
·
feat: support `Temporal.Instant` and `Temporal.ZonedDateTime` in `vi.setSystemTime()` (#11321)
·
1w ago
f150f510
__snapshots__
perf: stringify diff objects only once (#10276)
5mo ago
environments
fix(jsdom): support Blob on jsdom 30.1 (#11379)
4w ago
fixtures
fix(fakeTimers): force `queueMicrotask` and `nextTick` in `toNotFake` (#11261)
1mo ago
mocking
docs: align `mock` guide with the current implementation (#11503)
3w ago
alias.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
api-token.test.ts
fix(api): publish the api token atomically (#11323)
3w ago
basic.test.ts
chore: migrate to oxc (#11367)
4w ago
browser-sessions.test.ts
fix(browser): resolve `connectTimeout` from the project config (fix #10879) (#10880)
2mo ago
browserAutomocker.test.ts
chore: migrate to oxc (#11367)
4w ago
builtin.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
cached-resolver.test.ts
fix: prevent false Vitest import resolution (#11196)
1mo ago
chai-style-assertions-sinon.test.ts
chore: migrate to oxc (#11367)
4w ago
chai-style-assertions.test.ts
fix(expect): check value in chai-style returned (#11500)
3w ago
chainable.test.ts
chore: migrate to oxc (#11367)
4w ago
child-specific.child_process.test.ts
chore: migrate to oxc (#11367)
4w ago
circular.test.ts
chore: migrate to oxc (#11367)
4w ago
cli-test.test.ts
fix: refactor caching, fix `:` in project and change the shape of `results` cache (#11453)
3w ago
concurrent-suite.test.ts
chore: migrate to oxc (#11367)
4w ago
concurrent.spec.ts
chore: migrate to oxc (#11367)
4w ago
custom.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
date-mock.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
deadline.test.ts
chore: migrate to oxc (#11367)
4w ago
define-ssr.test.ts
feat!: share the Vite server between inline projects (#10848)
2mo ago
define-web.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
diff.test.ts
chore: migrate to oxc (#11367)
4w ago
do-mock-reset-modules.test.ts
chore: migrate to oxc (#11367)
4w ago
do-mock.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
doctor-candidates.test.ts
chore: migrate to oxc (#11367)
4w ago
dom-single-line-options.test.ts
chore: migrate to oxc (#11367)
4w ago
dom.test.ts
chore: migrate to oxc (#11367)
4w ago
dual-package-hazard.test.ts
chore: migrate to oxc (#11367)
4w ago
duration-breakdown.test.ts
chore: migrate to oxc (#11367)
4w ago
dynamic-import.test.ts
chore: migrate to oxc (#11367)
4w ago
each.test.ts
chore: migrate to oxc (#11367)
4w ago
edge.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
env-glob.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
env-jsdom.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
env-runtime.test.ts
fix!: don't emit localStorage warnings on Node 26, fail gracefully when worker fails to start (#10293)
3mo ago
env.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
environment-diagnostics.test.ts
chore: migrate to oxc (#11367)
4w ago
error.test.ts
chore: migrate to oxc (#11367)
4w ago
esnext-decorator.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
esnext.test.ts
chore: migrate to oxc (#11367)
4w ago
execution-order.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
expect-circular.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
expect-poll.test.ts
chore: migrate to oxc (#11367)
4w ago
expect.test-d.ts
chore: migrate to oxc (#11367)
4w ago
expect.test.ts
fix(expect): fix `Map` and `Set` deep equality in some assertions (#11402)
3w ago
exports.test.ts
fix(browser): exit gracefully when the browser disconnects during cancellation (#10962)
2mo ago
external-module-directory.test.ts
chore: migrate to oxc (#11367)
4w ago
file-path.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
fixture-comments-between-destructure.test.ts
chore: migrate to oxc (#11367)
4w ago
fixture-concurrent-beforeEach.test.ts
chore: migrate to oxc (#11367)
4w ago
fixture-concurrent.test.ts
chore: migrate to oxc (#11367)
4w ago
fixture-initialization.test.ts
chore: migrate to oxc (#11367)
4w ago
fixture-options.test.ts
chore: migrate to oxc (#11367)
4w ago
fixture-retry.test.ts
fix(runner): don't cache failed fixture setups (fix #11237) (#11238)
3w ago
fn.test.ts
chore: migrate to oxc (#11367)
4w ago
fs.test.ts
chore: migrate to oxc (#11367)
4w ago
handled-unhandled.test.ts
chore: migrate to oxc (#11367)
4w ago
happy-dom-custom.test.ts
chore: migrate to oxc (#11367)
4w ago
happy-dom.test.ts
chore: migrate to oxc (#11367)
4w ago
hoist-import.test.ts
chore: migrate to oxc (#11367)
4w ago
hoisted-async-simple.test.ts
fix!: throw an error if hoistable methods are outside the top level scope (#10460)
4mo ago
hoisted-simple.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
hooks-list.test.ts
docs: clarify order of `before*` hooks cleanup functions (#10230)
5mo ago
hooks-parallel.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
hooks-stack.test.ts
docs: clarify order of `before*` hooks cleanup functions (#10230)
5mo ago
hooks.test.js
chore: migrate to oxc (#11367)
4w ago
hooks.test.ts
chore: migrate to oxc (#11367)
4w ago
immutable.test.ts
chore: migrate to oxc (#11367)
4w ago
import-client.test.ts
chore: migrate to oxc (#11367)
4w ago
import-diagnostics.test.ts
chore: migrate to oxc (#11367)
4w ago
import-meta-resolve.test.ts
chore: migrate to oxc (#11367)
4w ago
imports.test.ts
chore: migrate to oxc (#11367)
4w ago
injector-esm.test.ts
chore: migrate to oxc (#11367)
4w ago
injector-mock.test.ts
fix: wrap module mocks during in-source testing (#11505)
3w ago
inline-snap.test.ts
chore: migrate to oxc (#11367)
4w ago
inlined.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
interop.test.ts
chore: migrate to oxc (#11367)
4w ago
isolate.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
jest-expect-no-url.test.ts
chore: migrate to oxc (#11367)
4w ago
jest-expect.test.ts
fix(expect): fix `Map` and `Set` deep equality in some assertions (#11402)
3w ago
jest-matcher-utils.test.ts
chore: migrate to oxc (#11367)
4w ago
jest-mock.test.ts
chore: migrate to oxc (#11367)
4w ago
local-context.test.ts
chore: migrate to oxc (#11367)
4w ago
lookup-package-scope-type.test.ts
feat: add toggable `injectCjsGlobals` option (#10709)
3mo ago
lot-of-tests.test.ts
chore: migrate to oxc (#11367)
4w ago
math.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
memory-limit.test.ts
refactor: resolve maxWorkers once in config (#11524)
2w ago
mock-fs.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
mock-internals.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
mocked-circular.test.ts
chore: migrate to oxc (#11367)
4w ago
mocked-class-restore-all.test.ts
chore: migrate to oxc (#11367)
4w ago
mocked-class-restore-explicit.test.ts
chore: migrate to oxc (#11367)
4w ago
mocked-class.test.ts
chore: migrate to oxc (#11367)
4w ago
mocked-import-circular.test.ts
chore: migrate to oxc (#11367)
4w ago
mocked-no-mocks-same.test.ts
chore: migrate to oxc (#11367)
4w ago
mocked-no-mocks.test.ts
feat!: clear mocks by default before each test (#10613)
3mo ago
mocked-node-module.test.ts
chore: migrate to oxc (#11367)
4w ago
mocked-public-key.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
mocked.test.js
chore: migrate to oxc (#11367)
4w ago
mocked.test.ts
chore: migrate to oxc (#11367)
4w ago
modes.test.ts
chore: migrate to oxc (#11367)
4w ago
module.test.ts
chore: migrate to oxc (#11367)
4w ago
moved-snapshot.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
moved-snapshot.test.ts.snap
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
named-overwrite-all.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
nested-only.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
nested-suite.test.ts
chore: migrate to oxc (#11367)
4w ago
nested-test.test.ts
chore: migrate to oxc (#11367)
4w ago
node-protocol-jsdom.spec.ts
chore: migrate to oxc (#11367)
4w ago
node-protocol-node.spec.ts
chore: migrate to oxc (#11367)
4w ago
on-failed.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
on-finished.test.ts
fix: don't retry when `test.fails` expectedly failed (#11219)
4w ago
only.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
parse-cjs-conditions.test.ts
chore: migrate to oxc (#11367)
4w ago
pattern.test.ts
chore: migrate to oxc (#11367)
4w ago
pretty-format.test.ts
fix(pretty-format): support boxed symbols (fix #11445) (#11446)
3w ago
propagate-options-nested-suite.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
random.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
repeats.test.ts
fix: don't retry when `test.fails` expectedly failed (#11219)
4w ago
replace-matcher.test.ts
chore: migrate to oxc (#11367)
4w ago
require.test.ts
chore: migrate to oxc (#11367)
4w ago
resolve-file-url.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
resolve-file-url~dep.js
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
resolve-ssr.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
resolve-web.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
retry-condition.test.ts
chore: migrate to oxc (#11367)
4w ago
retry-delay.test.ts
chore: migrate to oxc (#11367)
4w ago
retry-only.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
retry.test.ts
fix: don't retry when `test.fails` expectedly failed (#11219)
4w ago
rpc.spec.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
run-if.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
self.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
sequencers.test.ts
fix: refactor caching, fix `:` in project and change the shape of `results` cache (#11453)
3w ago
sequential.test.ts
chore: migrate to oxc (#11367)
4w ago
serialize.test.ts
chore: migrate to oxc (#11367)
4w ago
setup.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
skip-reset-state.test.ts
feat!: inline `@vitest/runner` package, do not publish it anymore (#10511)
4mo ago
skip.test.ts
chore: migrate to oxc (#11367)
4w ago
snapshot-1.txt
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
snapshot-2.txt
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
snapshot-async.test.ts
feat(types)!: add better promise support in expects and matchers (#8266)
2mo ago
snapshot-concurrent-sync.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
snapshot-concurrent.test.ts
chore: migrate to oxc (#11367)
4w ago
snapshot-custom-serializer.test.ts
chore: migrate to oxc (#11367)
4w ago
snapshot-file.test.ts
chore: migrate to oxc (#11367)
4w ago
snapshot-inline-(parentheses).test.ts
chore: migrate to oxc (#11367)
4w ago
snapshot-inline.test.ts
chore: migrate to oxc (#11367)
4w ago
snapshot-react-18.test.jsx
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
snapshot-react.test.jsx
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
snapshot.test.ts
chore: migrate to oxc (#11367)
4w ago
snapshots-outside.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
sourcemap.test.ts
chore: migrate to oxc (#11367)
4w ago
spy.test.ts
chore: migrate to oxc (#11367)
4w ago
strict.test.js
chore: migrate to oxc (#11367)
4w ago
stubbed-process.test.ts
fix: bind `process` in case global is overwritten (#11343)
1mo ago
stubs.test.ts
chore: migrate to oxc (#11367)
4w ago
suite.test.tsx
chore: migrate to oxc (#11367)
4w ago
tab-effect.spec.mjs
chore: migrate to oxc (#11367)
4w ago
task-collector.test.ts
chore: migrate to oxc (#11367)
4w ago
task-names.test.ts
chore: migrate to oxc (#11367)
4w ago
test-extend-with-top-level-hooks.test.ts
chore: migrate to oxc (#11367)
4w ago
test-extend.test.ts
chore: migrate to oxc (#11367)
4w ago
test-for-suite.test.ts
chore: migrate to oxc (#11367)
4w ago
test-for.test.ts
chore: migrate to oxc (#11367)
4w ago
test-name-pattern.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
test-options.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
test-tags-filter.test.ts
chore: migrate to oxc (#11367)
4w ago
threads-specific.threads.test.ts
chore: migrate to oxc (#11367)
4w ago
timeout.spec.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
timers-getMockedSystemTime.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
timers-jsdom.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
timers-node.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
timers-queueMicrotask.test.ts
chore: migrate to oxc (#11367)
4w ago
timers-temporal.test.ts
feat: support `Temporal.Instant` and `Temporal.ZonedDateTime` in `vi.setSystemTime()` (#11321)
1w ago
unhandled-skip.test.ts
chore: migrate to oxc (#11367)
4w ago
unmock-import.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
url-ssr.test.ts
chore: migrate to oxc (#11367)
4w ago
url-web.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
utils-display.spec.ts
chore: migrate to oxc (#11367)
4w ago
utils.spec.ts
fix: resolve mocks in directories with spaces (#11539)
2w ago
vi.spec.ts
chore: migrate to oxc (#11367)
4w ago
vi.test-d.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
vm-code-cache.test.ts
chore: migrate to oxc (#11367)
4w ago
wait.test.ts
chore: migrate to oxc (#11367)
4w ago
wasm.test.ts
chore: migrate to oxc (#11367)
4w ago
web-worker-jsdom.test.ts
chore: migrate to oxc (#11367)
4w ago
web-worker-mock.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago
web-worker-node.test.ts
chore: migrate to oxc (#11367)
4w ago
write-file-dynamic-import.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
6mo ago