Paul Melnikow
66d444aa40
Clean up our callback style and enforce no exclusive tests and remove an exclusive test ( #1900 )
...
We use arrow functions in most places; this enforces it.
Passing arrow functions to Mocha is discouraged: https://mochajs.org/#arrow-functions
This was a mix of autofixes and hand adjustments.
2018-08-12 20:45:43 -04:00
Paul Melnikow
39d393028d
Fix and test the github admin route ( #1886 )
...
Fix regressions in the github admin and token acceptor endpoints, introduced in #1813 .
2018-08-11 19:48:43 -04:00
Paul Melnikow
7a664ca3e8
Run prettier ( #1866 )
...
Merging this separately so the commit with the tooling change is readable. This is a follow-on to #1167 which turned prettier on.
2018-08-08 17:57:14 -04:00
Paul Melnikow
2ff71dab6a
Start cleaning up github auth routes ( #1813 )
...
- Move github token debug route to separate module
- Use crypto.timingSafeEqual
- Rename getTokenDebugInfo -> serializeDebugInfo
2018-08-01 21:58:11 -04:00