ourjapanlife/findadoc-web

Add snapshot test for `moderation.vue`

オープン

#1,433 opened on 2025/08/05

 (0 件のコメント) (0 件のリアクション) (1 人の担当者)Vue (24 件のフォーク)auto 404
enhancementgood first issuetests

Repository metrics

Stars
 (28 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド