ourjapanlife/findadoc-web

Add snapshot test for `index.vue`

開放

#1,429 建立於 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 index.vue.

Success

index.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

  • I need to think of a suitable way to check if there would be a diff by changing something so this will be edited later.

Implementation notes

Please use about.jest.test.ts as an example.

貢獻者指南