codeforhuntsville / Frontier

A civic app for finding whats near me
http://codeforhuntsville.com/
MIT License
9 stars 7 forks source link

Added tests for the Location component #55

Closed tessellator closed 7 years ago

tessellator commented 9 years ago

We do not currently have any tests in the client portion of the code, so I'm just throwing this out to start a discussion on it. These tests are built using Facebook's Jest test library.

The tests take a few seconds to run because the JSX has to be transformed before execution. We can improve performance of the tests later by caching the transformation results.

chadxz commented 9 years ago

This is awesome, thanks for getting it started!