Open paulstatezny opened 9 years ago
test-helper
'use strict'; var getFakePromise = function(captured) { return { then : function(then, fail) { captured.then = then; captured.fail = fail; return getFakePromise(captured); } }; }; module.exports = getFakePromise;
:zero: :sunny: :arrow_down:
:o:
Abstract away method that appears in our tests over and over to mock fake promises
Acceptance Criteria
test-helper
directory:Tasks