ourjapanlife/findadoc-web

Add snapshot test for `index.vue`

Aperta

#1429 aperta il 5 ago 2025

 (0 commenti) (0 reazioni) (1 assegnatario)Vue (24 fork)auto 404
enhancementgood first issuetests

Metriche repository

Star
 (28 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor