Skip to content

Commit

Permalink
Convert some some pitch muuids objects to strings
Browse files Browse the repository at this point in the history
  • Loading branch information
kl4us committed Aug 5, 2023
1 parent 499ea76 commit 45cb1c9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/model/__tests__/MutableClimbDataSource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -567,10 +567,10 @@ describe('Climb CRUD', () => {
}

// Store original pitch IDs and parent IDs
const originalPitch1ID = original.pitches[0]._id;
const originalPitch1ParentID = original.pitches[0].parent_id;
const originalPitch2ID = original.pitches[1]._id;
const originalPitch2ParentID = original.pitches[1].parent_id;
const originalPitch1ID = original.pitches[0]._id.toUUID().toString();
const originalPitch1ParentID = original.pitches[0].parent_id.toUUID().toString();
const originalPitch2ID = original.pitches[1]._id.toUUID().toString();
const originalPitch2ParentID = original.pitches[1].parent_id.toUUID().toString();

const updatedPitch1 = {
_id: originalPitch1ID,
Expand Down

0 comments on commit 45cb1c9

Please sign in to comment.