-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(transactions)!: transactions with automated rollback (#6)
* test: add not to calledWith assertion * fix: upgrade monocart-coverage-reports In reference to issue raised where coverage of static async class methods incorrectly reported branch coverage. cenfun/monocart-coverage-reports#67 * fix: export HTTP engine from defaults * refactor!: throw errors on failed writes to engines * test: add engine api test * test: add test for exported HTTP engine * feat(transactions): add transactional engine wrapper with commit capability * test(transactions): commit throws the underlying exception on failure * feat(transactions): add automatic rollback when a transaction fails * feat(transactions): allow Persist.addEngine to create transactional engines * docs(transactions): add documentation on using transactional engines
- Loading branch information
1 parent
34f61aa
commit b33bcd5
Showing
22 changed files
with
2,572 additions
and
579 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import HTTPEngine from '../../src/engine/HTTPEngine.js'; | ||
|
||
export default HTTPEngine; |
Oops, something went wrong.