smartprocure/futil-js

`Unhandled promise rejection`

lsm opened this issue · 2 comments

lsm commented

This seems to be reproduced in many browsers:

Mobile Safari 8.0.0 (iOS 8.4.0) ERROR: 'Unhandled promise rejection', AssertionError{message: 'expected promise to be rejected with 'Error: hi from aspect' but it was rejected with 'Error: hi from aspect'', showDiff: true, actual: 'Error: hi from aspect', expected: 'Error: hi from aspect', stack: 'AssertionError@http://localhost:9876/base/test/aspect.spec.js?45512c279a5a25377ccf6505f37f502ef315c0bc:2681:22

lsm commented

Another might be related to aspect/async:

Mobile Safari 11.0.0 (iOS 11.0.0) Aspect Functions should support status and clearing status FAILED
	Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.