hackforla / lucky-parking

Visualization of parking data to assist in understanding of the effects of parking policies on a neighborhood by neighborhood basis in the City of Los Angeles
https://www.hackforla.org/projects/lucky-parking.html
34 stars 60 forks source link

Setup React Testing Library and add Initial Header Component #524

Closed gibsonliketheguitar closed 1 year ago

gibsonliketheguitar commented 1 year ago

Description

Related Issues

Resolves #499

Acceptance Criteria

Checklist

Testing

 Header
    ✓ renders with branding (34 ms)
    ✓ renders with description (5 ms)
    ✓ renders with action button (14 ms)

Test Suites: 1 passed, 1 total
Tests:       3 passed, 3 total
Snapshots:   0 total
Time:        12.059 s
Ran all test suites.
File % Stmts % Branch % Funcs % Lines Uncovered Line #s
website/src/widgets/header 66.66 100 50 80
header.tsx 100 100 100 100
netlify[bot] commented 1 year ago

Deploy request for lucky-parking-staging rejected.

Name Link
Latest commit 558b5b729ba7aede605066eca95b4f8eed998f62
gibsonliketheguitar commented 1 year ago
gibsonliketheguitar commented 1 year ago

Further iterations on this would involve splitting the configuration to have a "base" and then possibly having another one for project-specific testing.

Do you have any resources to read about this. I'm pretty green horn with configuration and stuff