ourjapanlife/findadoc-web

Add snapshot test for `moderation.vue`

Ouverte

#1 433 ouverte le 5 août 2025

 (0 commentaire) (0 réaction) (1 personne assignée)Vue (24 forks)auto 404
enhancementgood first issuetests

Métriques du dépôt

Stars
 (28 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

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.

Guide contributeur