ourjapanlife/findadoc-web

Add snapshot test for `moderation.vue`

Offen

#1.433 geöffnet am 05.08.2025

 (0 Kommentare) (0 Reaktionen) (1 zugewiesene Person)Vue (24 Forks)auto 404
enhancementgood first issuetests

Repository-Metriken

Stars
 (28 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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.

Contributor Guide