Skip to content

Commit

Permalink
fix bind this unit-test
Browse files Browse the repository at this point in the history
  • Loading branch information
hiyuki committed Jan 18, 2024
1 parent 7e50411 commit 6ace9a5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ global.currentInject.render = function (_i, _c, _r, _sc) {
}
`
const res = bindThis(input, { renderReduce: true })
const output = ['a', 'b', 'a', 'c', 'a', 'd', 'name', 'name2']
const output = ['a', 'b', 'c', 'd', 'name', 'name2']
expect(res.propKeys.join('')).toBe(output.join(''))
})

Expand Down

0 comments on commit 6ace9a5

Please sign in to comment.