GitShow/vuejs/test-utils
vuejs

test-utils

Vue Test Utils for Vue 3

by vuejs
Star on GitHubForkWebsitenpm

TypeScript

1.2k stars290 forks193 contributorsActive · 6h agoSince 2020v2.4.11MIT

Meet the team

See all 193 on GitHub →
renovate[bot]Bot
renovate[bot]563 contributions
dependabot[bot]Bot
dependabot[bot]469 contributions
lmiller1990
lmiller1990449 contributions
cexbrayat
cexbrayat207 contributions
dependabot-preview[bot]Bot
dependabot-preview[bot]119 contributions
xanf
xanf78 contributions
dobromir-hristov
dobromir-hristov78 contributions
afontcu
afontcu66 contributions

Languages

View on GitHub →
TypeScript95.3%
Vue4.6%
JavaScript0.1%

Commit activity

Last 12 weeks · 42 commits

Full graph →

Community health

2 of 6 standards met

Community profile →
37
✓README✓License○Contributing○Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Active · Last activity 6h ago
See all on GitHub →
adamberecz
fix(#2591): expose defineExpose bindings on findComponent vmOpenPR

Summary now returns / bindings on for bundled-style components (setup that returns a render function). Vue only creates lazily (template ref or directive), so a child can have an exposed API while is still . Also wrap those instances in the vm proxy when is missing, which is the typical bundled `exposeProxy === nullpnpm testfindComponentexposeProxypnpm run lintformat-checktest:buildtsdvue-tsctsc:docs` Made with Cursor

adamberecz · 1w ago
rajanpanth
fix: trigger button click from keyboard activationOpenPR

Description Fixes #2545. and now synthesize the browser-style click activation for enabled `.preventcorepack pnpm vitest run tests/trigger.spec.tscorepack pnpm exec oxfmt --check src/baseWrapper.ts tests/trigger.spec.tscorepack pnpm exec oxlint src/baseWrapper.ts tests/trigger.spec.tscorepack pnpm run buildgit diff --check`

rajanpanth · 1w ago

Recent fixes

View closed PRs →
adamberecz
fix(#2591): `findComponent` doesn't not return exposed properties in vmMergedPR

After investigating the issue down to it appears that is only set in a script-setup component if it uses at least one directive: https://github.com/vuejs/core/blob/main/packages/runtime-core/src/component.ts#L1187 https://github.com/vuejs/core/blob/main/packages/runtime-core/src/directives.ts#L143 Meaning a component can have an exposed API while is . In this case we can create manually from which essentially has the same effect, because the one created by runtime-core is only different by also proxying which aren't available anyway.

adamberecz · 1w ago
Structured data for AI agents

Repository: vuejs/test-utils. Description: Vue Test Utils for Vue 3 Stars: 1156, Forks: 290. Primary language: TypeScript. Languages: TypeScript (95.3%), Vue (4.6%), JavaScript (0.1%). License: MIT. Homepage: https://test-utils.vuejs.org Latest release: v2.4.11 (2mo ago). Open PRs: 9, open issues: 27. Last activity: 6h ago. Community health: 37%. Top contributors: renovate[bot], dependabot[bot], lmiller1990, cexbrayat, dependabot-preview[bot], xanf, dobromir-hristov, afontcu, freakzlike, pikax and others.

·@ofershap

Replace github.com with gitshow.dev