Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes tests
Browse files Browse the repository at this point in the history
anmolarora1 committed Oct 7, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 3bf81d9 commit 876840e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/shortcuts/__tests__/undo.ts
Original file line number Diff line number Diff line change
@@ -124,8 +124,8 @@ it('ignore dead actions/Combine dispensible actions with the preceding patch', (
context: ['a'],
oldValue: 'b',
newValue: 'bd',
rankInContext: 1,
thoughtsRanked: [{ value: 'a', rank: 0 }, { value: 'b', rank: 1 }]
rankInContext: 0,
thoughtsRanked: [{ value: 'a', rank: 0 }, { value: 'b', rank: 0 }]
},
// dispensible set cursor (which only updates datanonce)
{ type: 'setCursor', thoughtsRanked: null },

0 comments on commit 876840e

Please sign in to comment.