Skip to content

Commit

Permalink
fix: error test script
Browse files Browse the repository at this point in the history
  • Loading branch information
Lydanne committed Nov 15, 2020
1 parent aa852bc commit 2d0c3cf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/tree/__tests__/entity/tree-node.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,6 @@ describe('TreeNode.js', () => {
])
const node11 = treeNode.findOne(11)

expect(node11.move(treeNode.findOne(111), 'top')).toBeFalsy()
expect(node11.move(treeNode.findOne(1), 'top')).toBeFalsy()
expect(node11.move(treeNode.findOne(12), 'bottom')).toBeTruthy()
expect(node11.move(treeNode.findOne(12), 'inner')).toBeTruthy()
expect(treeNode.childNodes).toHaveLength(1)
Expand Down

0 comments on commit 2d0c3cf

Please sign in to comment.