Open CryogenicPlanet opened 4 years ago
Check Commit https://github.com/Mozilla-Open-Lab-Etwas/Twitter-Source-Bot/commit/c27884e5a22103e85b4a6e29496f19c3aeb40204 Manually Closing Https Server https://github.com/Mozilla-Open-Lab-Etwas/Twitter-Source-Bot/blob/3cb58f43af60e4f7da662a3a5b3bb5d22f9e1a78/tests/autohook.spec.js#L58 https://github.com/Mozilla-Open-Lab-Etwas/Twitter-Source-Bot/blob/3cb58f43af60e4f7da662a3a5b3bb5d22f9e1a78/tests/autohook.spec.js#L61
@lunaroyster I don't want to test with nock like them, I want to test our credentials on the main API, but I am not able to close all promises on this
Official Autohook Test https://github.com/twitterdev/autohook/blob/master/test/autohook-success.js
Check Commit https://github.com/Mozilla-Open-Lab-Etwas/Twitter-Source-Bot/commit/c27884e5a22103e85b4a6e29496f19c3aeb40204 Manually Closing Https Server https://github.com/Mozilla-Open-Lab-Etwas/Twitter-Source-Bot/blob/3cb58f43af60e4f7da662a3a5b3bb5d22f9e1a78/tests/autohook.spec.js#L58 https://github.com/Mozilla-Open-Lab-Etwas/Twitter-Source-Bot/blob/3cb58f43af60e4f7da662a3a5b3bb5d22f9e1a78/tests/autohook.spec.js#L61
@lunaroyster I don't want to test with nock like them, I want to test our credentials on the main API, but I am not able to close all promises on this
Official Autohook Test https://github.com/twitterdev/autohook/blob/master/test/autohook-success.js