ourjapanlife/findadoc-web

Add snapshot test for `moderation.vue`

開放

#1,433 建立於 2025年8月5日

 (0 則留言) (0 個反應) (1 位負責人)Vue (24 個分叉)auto 404
enhancementgood first issuetests

倉庫指標

星標
 (28 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南