mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 02:11:44 +03:00
a5484a0fe1
https://github.com/TryGhost/Toolbox/issues/130 The transaction no longer commits in the promise chain, which wasn't valid logic for a transaction, since it is commited automatically when the promise chain resolves, and rollsback automatically when the promise chain rejects. This makes code which fails during the transaction error in the right place, instead of getting stuck here. (Especially good for writing tests). The tests for this code can now live in the integration folder. |
||
---|---|---|
.. | ||
api | ||
mock-express-style | ||
models | ||
services | ||
site |