Tree:
6302147907
activedid_migration
ai-context
android-15-check
android-file-save
app_id_fix
ask-for-contacts-export
build-dev-to-dist
build-improvement
build-ios
build-web-serve-test
build-with-env
capacitor-local-save
claim-view-error-handling
claimview-fullfills-offer
contact-gifting-current-user
contacts-view-fixes
cross-platform-factory
cross-platform-factory-redux
d9085ced6df7dc7bdcd899959cea6489cab7f8b8
db-backup-cross-platform
deep-link
deep-links-android-update
deep_linking
design-tweaks-2023-12
dialog-styles-unified
didview-invalid-did-handling
electron_fix_20250317
experimental_plugin
eye-slash
fix-contact-import-export
fix-deep-link
fix-service-worker
friend-tech-inspired-pwa-dialog
get-get-hash
gifting-periphery-improvements
gifting-ui-2025-05
home-icon-enhancements
home-view-notification-improvements
homeview-cleanup-2025-03
homeview-refresh-2025-02
imagemagick-anrdoid
ios-contact-copy
logger-level
logging-upgrade
main
master
master-patch
master-settings-upgrade
matthew-scratch-2025-06-28
migrate-dexie-to-sqlite
nearby-filter
new-storage
nostr
notification-line-wrapping
notification-request-permission-dialog
notification-section
notify-time
offer-edit
offer-validation-logic
onboard-alert-component
onboarding-dialog-fix
passkey
passkey-cache
performance-optimizations-testing
photo-reverse
plan-loc
platformservicemixin-interface-consolidation
playwright-pwa-install-test
playwright-test-60-fix
playwright-test-updates
profile-pic
profile_include_location
project-gives
projectview-hide-offer-link-unregistered
qrcode-capacitor
registration-gate
remove-image-cache
replace-iconrenderer
script-build-mode
search-map-fix
side_step
simple-signer
split_build_process
sql-absurd-sql
sql-absurd-sql-further
sql-wa-sqlite
star-projects
starred-projects
streamline-attempt
sw-cleanup
tmp
trent-tweaks
tweaks
ui-fixes-2024-03
ui-fixes-2025-03
ui-fixes-2025-06-w2
units-mocking
v-onboarding-2024-04
vite-version
web-serve-fix
web-tests
0.1.8
0.2.1
0.2.11
0.2.17
0.2.2
0.2.4
0.3.35
0.3.50
0.3.51
0.3.52
0.3.53
0.3.54
0.3.55
0.3.56
0.3.57
0.4.1
0.4.2
0.4.3
0.4.4
0.5.8
0.5.9
1.0.0
1.0.2
1.0.4
${ noResults }
2 Commits (63021479074b306a6d3bc160bb79e3b01775ad78)
Author | SHA1 | Message | Date |
---|---|---|---|
|
6302147907 |
fix: convert Vue emits to @Emit decorator and resolve linting errors
- Replace emits arrays with @Emit decorator in vue-facing-decorator components - Convert ActivityListItem, ContactInputForm, ContactBulkActions, ContactListHeader, MembersList, LargeIdenticonModal, and ContactListItem to use @Emit pattern - Fix TypeScript errors for unused variables and parameters in test files - Remove unused createTestProps function from ProjectIcon.test.ts - Prefix unused wrapper parameters with underscore in componentTestUtils.ts - Replace generic Function type with specific function signatures in testHelpers.ts - All 288 unit tests pass with no regressions - Resolve all 13+ linting errors while maintaining 194 pre-existing warnings This refactoring improves type safety and follows vue-facing-decorator best practices for event emission while maintaining full backward compatibility. |
3 weeks ago |
|
2d14493b8c |
feat: Add comprehensive unit testing infrastructure with Vitest and JSDOM
Add complete testing setup for Vue components using vue-facing-decorator pattern. Includes 94 tests across 4 simple components with comprehensive coverage. Components tested: - RegistrationNotice (18 tests) - Event emission and conditional rendering - LargeIdenticonModal (18 tests) - Modal behavior and overlay interactions - ProjectIcon (26 tests) - Icon generation and link behavior - ContactBulkActions (30 tests) - Form controls and bulk operations Infrastructure added: - Vitest configuration with JSDOM environment - Global browser API mocks (ResizeObserver, IntersectionObserver, etc.) - Path alias resolution (@/ for src/) - Comprehensive test setup with @vue/test-utils - Mock component patterns for isolated testing - Test categories: rendering, styling, props, interactions, edge cases, accessibility Testing patterns established: - Component mounting with prop validation - Event emission verification - CSS class and styling tests - User interaction simulation - Accessibility compliance checks - Edge case handling - Conditional rendering validation All tests passing (94/94) with zero linting errors. |
3 weeks ago |