Skip to content

Commit

Permalink
change let to const
Browse files Browse the repository at this point in the history
  • Loading branch information
bumblehead committed Sep 19, 2022
1 parent 8efa2db commit 2a35d0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/esmockModule.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ const esmockModuleId = async (parent, key, defs, ids, mocks, opt, id) => {

if (!id) return mocks

let mockedPathFull = resolvewith(id, parent)
const mockedPathFull = resolvewith(id, parent)
if (!mockedPathFull && opt.isModuleNotFoundError !== false)
throw esmockModuleIdNotFoundError(id, parent)

Expand Down

0 comments on commit 2a35d0e

Please sign in to comment.