Skip to content

fix(mockRequire): __webpack_require__.r is not a function#965

Merged
9aoy merged 3 commits intomainfrom
mock-pure-cjs
Feb 14, 2026
Merged

fix(mockRequire): __webpack_require__.r is not a function#965
9aoy merged 3 commits intomainfrom
mock-pure-cjs

Conversation

@9aoy
Copy link
Copy Markdown
Collaborator

@9aoy 9aoy commented Feb 13, 2026

Summary

fix __webpack_require__.r / __webpack_require__.d is not a function when use mockRequire in pure cjs project.

Related Links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 14, 2026

📝 Rstest Ecosystem CI: Open

suite result
rsbuild ✅ success
rsdoctor ✅ success
rslib ✅ success
rspress ✅ success
modernjs ✅ success

@9aoy 9aoy merged commit fceab43 into main Feb 14, 2026
9 checks passed
@9aoy 9aoy deleted the mock-pure-cjs branch February 14, 2026 03:05
@9aoy 9aoy mentioned this pull request Feb 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants