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
·
180 files
at
feat/benchmark-provider
Kyℓe Hensel
·
feat: support non-ascii characters in `for/each` title placeholders (#10773)
·
2mo ago
15e0af95
__snapshots__
perf: stringify diff objects only once (#10276)
5mo ago
environments
fix!: allow mutating happy-dom/jsdom window object (#10373)
4mo ago
fixtures
fix(deps): update fake-timers to 15.3.2. support `toNotFake` (#10043)
5mo ago
mocking
test: remove axios (#10676)
3mo ago
alias.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
basic.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
browser-sessions.test.ts
fix(browser): wait for orchestrator readiness before resolving browser sessions (#10397)
4mo ago
browserAutomocker.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
builtin.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
chai-style-assertions-sinon.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
chai-style-assertions.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
chainable.test.ts
feat!: inline `@vitest/runner` package, do not publish it anymore (#10511)
4mo ago
child-specific.child_process.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
circular.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
cli-test.test.ts
feat: add toggable `injectCjsGlobals` option (#10709)
3mo ago
concurrent-suite.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
concurrent.spec.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
custom.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
date-mock.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
define-ssr.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
define-web.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
diff.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
do-mock-reset-modules.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
do-mock.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
dom-single-line-options.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
dom.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
dual-package-hazard.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
dynamic-import.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
each.test.ts
feat: support non-ascii characters in `for/each` title placeholders (#10773)
2mo ago
edge.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
env-glob.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
env-jsdom.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo 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)
5mo ago
error.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
esnext-decorator.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
esnext.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
execution-order.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
expect-circular.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
expect-poll.test.ts
fix!: fail `expect.poll` when function didn't resolve in time (#10233)
5mo ago
expect.test-d.ts
fix(expect): allow readonly arrays and sets in toBeOneOf (fix #10264) (#10374)
5mo ago
expect.test.ts
feat!: inline `@vitest/runner` package, do not publish it anymore (#10511)
4mo ago
exports.test.ts
refactor!: separate config resolution from the server creation (#10554)
3mo ago
external-module-directory.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
file-path.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
fixture-comments-between-destructure.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
fixture-concurrent-beforeEach.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
fixture-concurrent.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
fixture-initialization.test.ts
feat!: inline `@vitest/runner` package, do not publish it anymore (#10511)
4mo ago
fixture-options.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
fn.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
fs.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
handled-unhandled.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
happy-dom-custom.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
happy-dom.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
hoist-import.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo 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)
5mo 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)
5mo ago
hooks-stack.test.ts
docs: clarify order of `before*` hooks cleanup functions (#10230)
5mo ago
hooks.test.js
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
hooks.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
immutable.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
import-client.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
import-meta-resolve.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
imports.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
injector-esm.test.ts
fix(browser): inlined awaited import should not trigger syntax error after transform (#10784)
3mo ago
injector-mock.test.ts
fix(mocker): hoist vi.mock() for vite-plus/test imports (#10489)
4mo ago
inline-snap.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
inlined.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
interop.test.ts
fix: apply cjs interop for truthy `__esModule` (#10363)
5mo ago
isolate.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
jest-expect-no-url.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
jest-expect.test.ts
perf: stringify diff objects only once (#10276)
5mo ago
jest-matcher-utils.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
jest-mock.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
local-context.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
lookup-package-scope-type.test.ts
feat: add toggable `injectCjsGlobals` option (#10709)
3mo ago
lot-of-tests.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
math.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
memory-limit.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
mock-fs.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
mock-internals.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
mocked-circular.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
mocked-class-restore-all.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
mocked-class-restore-explicit.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
mocked-class.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
mocked-import-circular.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
mocked-no-mocks-same.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
mocked-no-mocks.test.ts
feat!: clear mocks by default before each test (#10613)
3mo ago
mocked-node-module.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
mocked-public-key.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
mocked.test.js
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
mocked.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
modes.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
module-diagnostic.test.ts
feat!: inline `@vitest/runner` package, do not publish it anymore (#10511)
4mo ago
module.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
moved-snapshot.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
moved-snapshot.test.ts.snap
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
named-overwrite-all.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
nested-only.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
nested-suite.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
nested-test.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
node-protocol-jsdom.spec.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
node-protocol-node.spec.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
on-failed.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
on-finished.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
only.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
parse-cjs-conditions.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
pattern.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
pretty-format.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
propagate-options-nested-suite.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
random.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
repeats.test.ts
feat!: inline `@vitest/runner` package, do not publish it anymore (#10511)
4mo ago
replace-matcher.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
require.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
resolve-file-url.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
resolve-file-url~dep.js
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
resolve-ssr.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
resolve-web.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
retry-condition.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
retry-delay.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
retry-only.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
retry.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
rpc.spec.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
run-if.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
self.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
sequencers.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
sequential.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
serialize.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
setup.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
skip-reset-state.test.ts
feat!: inline `@vitest/runner` package, do not publish it anymore (#10511)
4mo ago
skip.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
snapshot-1.txt
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
snapshot-2.txt
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
snapshot-async.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
snapshot-concurrent-sync.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
snapshot-concurrent.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
snapshot-custom-serializer.test.ts
chore(deps): update eslint packages (#9825)
3mo ago
snapshot-file.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
snapshot-inline-(parentheses).test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
snapshot-inline.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
snapshot-react-18.test.jsx
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
snapshot-react.test.jsx
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
snapshot.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
snapshots-outside.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
sourcemap.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
spy.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
strict.test.js
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
stubbed-process.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
stubs.test.ts
refactor!: separate config resolution from the server creation (#10554)
3mo ago
suite.test.tsx
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
tab-effect.spec.mjs
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
task-collector.test.ts
fix: test `tags` options should overwrite inherited suite options + inherit suite options in `task` API (#10216)
5mo ago
task-names.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
test-extend-with-top-level-hooks.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
test-extend.test.ts
feat!: clear mocks by default before each test (#10613)
3mo ago
test-for-suite.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
test-for.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
test-name-pattern.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
test-options.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
test-tags-filter.test.ts
feat!: inline `@vitest/runner` package, do not publish it anymore (#10511)
4mo ago
threads-specific.threads.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
timeout.spec.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
timers-getMockedSystemTime.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
timers-jsdom.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
timers-node.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
timers-queueMicrotask.test.ts
chore(deps): update eslint packages (#9825)
3mo ago
timers-temporal.test.ts
feat!: update `@sinonjs/fake-timers` and support mocking `Temporal` (#10654)
3mo ago
unhandled-skip.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
unmock-import.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
url-ssr.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
url-web.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
utils-display.spec.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
utils.spec.ts
chore(deps): update eslint packages (#9825)
3mo ago
vi.spec.ts
feat!: clear mocks by default before each test (#10613)
3mo ago
vi.test-d.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
wait.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
wasm.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
web-worker-jsdom.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
web-worker-mock.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
web-worker-node.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago
write-file-dynamic-import.test.ts
refactor: rename test/cli -> test/e2e, test/core -> test/unit (#10209)
5mo ago