ourjapanlife/findadoc-web
Add snapshot test for `moderation.vue`
Aberta
#1.433 aberto em 5 de ago. de 2025
enhancementgood first issuetests
Métricas do repositório
- Stars
- (28 estrelas)
- Métricas de merge de PR
- (Métricas PR pendentes)
Description
Problem
Now that snapshot testing is possible, we need to create a test for every page. This ticket is for moderation.vue.
Success
moderation.jest.test.ts should be added to the jest testing folder and when running the snapshot testing commands (both updating and the actual test), it should be included in the command prompt.
Requirements
- Make the overview "For review" only show one entry, and not the usual 5 when running a local db. Confirm that the diffs are shown within the testing.
Implementation notes
Please use about.jest.test.ts as an example.