Ghost/test
Sam Lord a5484a0fe1 Fixed transaction logic in data importer
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.
2021-11-16 17:09:55 +00:00
..
e2e-api Exposed tenorApiKey via config endpoint if set (#13734) 2021-11-11 18:07:19 +00:00
e2e-frontend Updated e2e tests to be async/await 2021-10-06 15:51:05 +01:00
e2e-server Fixed ETag header for admin templates not changing between versions (#13680) 2021-10-22 14:25:58 +01:00
integration Fixed transaction logic in data importer 2021-11-16 17:09:55 +00:00
regression Fixed transaction logic in data importer 2021-11-16 17:09:55 +00:00
unit Remove unused unit test file 2021-11-16 16:05:50 +00:00
utils Hardcoded ids in the data generator 2021-11-17 04:29:55 +13:00
.eslintignore Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
.eslintrc.js Upgraded no-skipped-test rule to error 2021-05-26 14:57:43 +01:00
.jshintrc Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00