diff options
| author | Adam Malczewski <[email protected]> | 2026-06-06 22:24:20 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-06-06 22:24:20 +0900 |
| commit | f1409cd46d5a3cfb9002cbcdfd4ab947ac6846aa (patch) | |
| tree | a035b2e2d2cb122cdd54c841d87e45965746e2c5 /bun.lock | |
| parent | e1c8cf3257cb33457aa882c548f5195ecc0f9854 (diff) | |
| download | dispatch-web-f1409cd46d5a3cfb9002cbcdfd4ab947ac6846aa.tar.gz dispatch-web-f1409cd46d5a3cfb9002cbcdfd4ab947ac6846aa.zip | |
Slice 1 follow-up: component-render interaction tests (CR-1/CR-2)
- vite: add @testing-library/svelte's svelteTesting() plugin so component
render()/mount() resolves Svelte's browser build under vitest/jsdom
- dep: @testing-library/user-event for realistic interaction tests
- app: 7 component-render tests driving App.svelte through a fake socket
(catalog render, subscribe-on-click, unsub/sub ordering, aria-current,
error banner, action invoke)
Verified green: svelte-check 0/0, vitest 91 passed, biome clean, vite build ok.
Diffstat (limited to 'bun.lock')
| -rw-r--r-- | bun.lock | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -12,6 +12,7 @@ "@sveltejs/vite-plugin-svelte": "^5.0.0", "@testing-library/jest-dom": "^6.6.0", "@testing-library/svelte": "^5.2.0", + "@testing-library/user-event": "^14.6.1", "@tsconfig/svelte": "^5.0.0", "jsdom": "^25.0.0", "svelte": "^5.0.0", @@ -191,6 +192,8 @@ "@testing-library/svelte-core": ["@testing-library/[email protected]", "", { "peerDependencies": { "svelte": "^3 || ^4 || ^5 || ^5.0.0-next.0" } }, "sha512-VkUePoLV6oOYwSUvX6ShA8KLnJqZiYMIbP2JW2t0GLWLkJxKGvuH5qrrZBV/X7cXFnLGuFQEC7RheYiZOW68KQ=="], + "@testing-library/user-event": ["@testing-library/[email protected]", "", { "peerDependencies": { "@testing-library/dom": ">=7.21.4" } }, "sha512-vq7fv0rnt+QTXgPxr5Hjc210p6YKq2kmdziLgnsZGgLJ9e6VAShx1pACLuRjd/AS/sr7phAR58OIIpf0LlmQNw=="], + "@tsconfig/svelte": ["@tsconfig/[email protected]", "", {}, "sha512-UkNnw1/oFEfecR8ypyHIQuWYdkPvHiwcQ78sh+ymIiYoF+uc5H1UBetbjyqT+vgGJ3qQN6nhucJviX6HesWtKQ=="], "@types/aria-query": ["@types/[email protected]", "", {}, "sha512-rfT93uj5s0PRL7EzccGMs3brplhcrghnDoV26NqKhCAS1hVo+WdNsPvE/yb6ilfr5hi2MEk6d5EWJTKdxg8jVw=="], |
