@sprucelabs/data-stores 28.3.264 → 28.3.265

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -600,6 +600,8 @@ const databaseAssertUtil = {
600
600
  assert.isTruthy(updated, `updateOne needs to return the record that was updated!`);
601
601
  assert.isEqual(updated.id, inserted.id);
602
602
  assert.isEqual(updated.name, 'updated');
603
+ const match = yield db.findOne(this.collectionName, { id: updated.id });
604
+ assert.isEqualDeep(match, updated, 'The record in the database did not actually update!');
603
605
  yield this.shutdown(db);
604
606
  });
605
607
  },
@@ -545,6 +545,8 @@ const databaseAssertUtil = {
545
545
  test_utils_1.assert.isTruthy(updated, `updateOne needs to return the record that was updated!`);
546
546
  test_utils_1.assert.isEqual(updated.id, inserted.id);
547
547
  test_utils_1.assert.isEqual(updated.name, 'updated');
548
+ const match = await db.findOne(this.collectionName, { id: updated.id });
549
+ test_utils_1.assert.isEqualDeep(match, updated, 'The record in the database did not actually update!');
548
550
  await this.shutdown(db);
549
551
  },
550
552
  async assertCanSortById(connect) {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "28.3.264",
6
+ "version": "28.3.265",
7
7
  "files": [
8
8
  "build/**/*",
9
9
  "!build/__tests__",