Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 922 Bytes

File metadata and controls

37 lines (23 loc) · 922 Bytes

Frontend app for Visual Regression Tracker

Code Smells

Local setup

  • clone repo
  • npm i
  • Update .env
  • npm run start

The testing related .spec.tsx files are used with Playwright for browser tests, and the .test.tsx files with Jest for unit tests.

Running Tests

Unit Tests (Jest)

Run Jest unit tests:

npm run test

Integration Tests (Playwright)

Local Testing

Run Playwright tests locally (requires local dev server):

npm run test:pw:local

Local HTTPS config

  • Generate keys here
  • place in folder /secrets named ssl.cert and ssl.key