Putting an expectation on promise reasons (e.g. !== undefined)
Merge pull request #200 from avoidwork/edge

Minor changes