Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/yorkie-team/yorkie-js-sdk i…
Browse files Browse the repository at this point in the history
…nto devtools-mvp-2-v2
  • Loading branch information
chacha912 committed Apr 12, 2024
2 parents 202cd53 + 8c0e164 commit 01fdeb3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/document/crdt/tree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1469,7 +1469,7 @@ export class CRDTTree extends CRDTGCElement {
}
}
}
return changes;
return changes.reverse();
}

/**
Expand Down
8 changes: 4 additions & 4 deletions test/integration/tree_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4400,14 +4400,14 @@ describe('TreeChange', () => {
} as any,
{
type: 'tree-edit',
from: 1,
to: 2,
from: 3,
to: 4,
value: undefined,
} as any,
{
type: 'tree-edit',
from: 3,
to: 4,
from: 1,
to: 2,
value: undefined,
} as any,
],
Expand Down

0 comments on commit 01fdeb3

Please sign in to comment.