Skip to content

Conversation

@duncanmcclean
Copy link
Owner

No description provided.

- Set up Vitest testing framework with jsdom environment
- Add @vue/test-utils for Vue component testing
- Create comprehensive tests for debugMixin functionality
- Test plugin installation and global mixin behavior
- Add test scripts to package.json
- Mock console methods to verify debug output
- Test all log levels and configuration options
- Verify lifecycle event logging
- Configure Vite properly for jsdom test environment
- Update tests to match actual component behavior in test environment
- Fix component naming expectations (falls back to 'Anonymous' in tests)
- Test production environment behavior (no comments added)
- Test HTML comment insertion and cleanup functionality
- All 16 tests now passing
- Run tests on push to main and add-tests branches
- Test on Node.js 18.x, 20.x, and 22.x
- Run tests, build, and prettier formatting checks
- Use npm ci for faster, reliable installs
- Trigger on pull requests to main branch
@duncanmcclean duncanmcclean merged commit 8d63424 into main Jul 3, 2025
6 checks passed
@duncanmcclean duncanmcclean deleted the add-tests branch July 3, 2025 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants