bigeasy / cadence

A Swiss Army asynchronous control flow function for JavaScript.
https://bigeasy.github.io/cadence
MIT License
35 stars 7 forks source link

Test with the ancients. #383

Open bigeasy opened 3 years ago

bigeasy commented 3 years ago

If you add that ability to Proof, you can test with the ancients and still get 100% coverage of the promise additions by writing the tests so that they return a Thenable instead of a Promise.

bigeasy commented 2 years ago

How would we go about testing with the ancients, though? Proof is no longer tested against pre-async/await Node.js because one of its dependencies uses a static ES6 declaration. We'd have to revert changes.