Frontend architecture
- Single-page Apps
- Layout of frontend code
- Shared core functionality
- Vue components
- Frontend code conventions
- Vuex
- HTML5 API
- Adding dependencies
- Unit testing
- Style Guide
- Naming Conventions
- Use of
renderComponent
function - Add smoke tests
- Use describe blocks
- Avoid long and complex unit tests
- Use default props
- Explicitly declare props that are relevant to your unit test
- Queries
- Making use of VTL
screen
object - Prefer the
userEvent
package overfireEvent
to simulate user interactions - Using
testing-library/jest-dom
- More References
- Style Guide
- Testing template
- Frontend build pipeline