Transactions tests (#4522)

Adds tests for transactions API

Co-authored-by: Andrew Henry <akhenry@gmail.com>
Co-authored-by: John Hill <john.c.hill@nasa.gov>
This commit is contained in:
Nikhil
2021-12-13 12:36:11 -08:00
committed by GitHub
parent bba29b083f
commit a0b02c9684
5 changed files with 156 additions and 9 deletions

View File

@@ -186,7 +186,7 @@ ObjectAPI.prototype.get = function (identifier, abortSignal) {
identifier = utils.parseKeyString(identifier);
let dirtyObject;
if (this.isTransactionActive()) {
dirtyObject = this.transaction.getDirtyObject(keystring);
dirtyObject = this.transaction.getDirtyObject(identifier);
}
if (dirtyObject) {