Open timwis opened 7 years ago
There's some logic and decision-making in handler.js that we'd have a few tests for, ideally. It's more challenging because we have to mock request using something like proxyquire though.
handler.js
request
This definitely isn't MVP though.
Also there's no test around the CSV format, at least the ST_AsText bit, the logic for which is in index.js
ST_AsText
index.js
There's some logic and decision-making in
handler.js
that we'd have a few tests for, ideally. It's more challenging because we have to mockrequest
using something like proxyquire though.This definitely isn't MVP though.