matai-2022 / gardenz

Empowering community gardens in New Zealand
0 stars 1 forks source link

Fix tests for Map component #40

Closed ahnwarez closed 2 years ago

ahnwarez commented 2 years ago

The testing module in client/components/Map/Map.test.js has two testing suites that are broken. They are currently skipped. Your task to investigate why tests fail and your solution(s), then communicate your findings with your facilitator.

Remove the .skip to run the tests.

- describe.skip('blah blah', () => { // I don't run })
+ describe('blah blah', () => { // I run })

To run tests for a single module run:

npx jest client/components/Map/Map.test.j