fix(switchCase): promise fall through

correctly return promise. The previous code ran
<code>isPromise(undefined)</code> which then ran the default case