adunkman / dc311rn.com

Quickly check the status of a DC 311 service request
https://www.dc311rn.com
MIT License
6 stars 0 forks source link

Do not use experimental modules, rely on jest for testing. #29

Closed adunkman closed 6 years ago

adunkman commented 6 years ago

Running node --experimental-modules was causing all sorts of headaches trying to get tests working. Instead, we can use babel to keep using import statements, which makes everything lovely again.

Additionally, this PR introduces jest and sepia to test and stub responses from the 311 API, respectively.