mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-27 22:49:56 -05:00
0b806cc01b
closes https://linear.app/ghost/issue/PLG-265 - wrapped the async part of `dispatchAction` in a Promise so code that calls it can await the action completion - this was a regression introduced a long time ago when we switched to Typescript and React hooks - added a `setDelay()` method to our `MockedApi` class to make it easier to test interstitial loading states |
||
---|---|---|
.. | ||
e2e.ts | ||
fixtures.ts | ||
MockedApi.ts |