LocalHosts7

Automated Tests

Run

From src/backend:

npm test

The script runs tests/backend.test.js followed by tests/frontend.test.js. CI uses Node.js 22 and runs the same command after npm ci.

Coverage

Limits

These tests do not open a real browser, prove visual behavior at every viewport, sign in to an actual staff account, upload to Supabase Storage, mutate Supabase data, or complete a Paystack transaction. Those flows require an approved staging project, authorized test account, and Paystack Test Mode. The suite does not claim live database or payment acceptance.