Unit testing (Java|Type)Script with Sync vs. Async Promises

I recently worked on a TypeScript & React frontend with some unusual feature requirements; things that go beyond basic CRUD forms and user interactions. To test these features I often found myself needing either: Precise control over when a set…