You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve default vitest config for better watch mode (#349)
### Background
This PR enhances the test configuration for all function templates to improve the developer experience when running tests.
Issue : shop/issues-shopifyvm#755
### Solution
Updated all `vitest.config.js` files to include `forceRerunTriggers` configuration, which ensures tests automatically rerun when changes are made to either test fixtures or source code. This improves the development workflow by providing immediate feedback when making changes to either test data or implementation code.
The configuration now watches for changes in:
- `**/tests/fixtures/**` - Test data and fixtures
- `**/src/**` - Source code files
### Checklist
- [x] I have 🎩'd these changes
- [x] I have squashed my commits into chunks of work with meaningful commit messages
0 commit comments