Skip to content

Commit

Permalink
test: make new test case more readable
Browse files Browse the repository at this point in the history
  • Loading branch information
karrui committed Sep 27, 2024
1 parent 83a04e2 commit 2ecf5d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/hook/v14-double-hook.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ Hook([toWrap], (exports) => {
})

Hook([toWrap], (exports) => {
const original = exports.default
const shouldNotExist = exports.default
exports = function () {
return original() + '-wrapped'
return shouldNotExist()
}
})

Expand Down

0 comments on commit 2ecf5d0

Please sign in to comment.