Skip to content

fix: should keep require.resolve expressions#395

Merged
9aoy merged 2 commits intomainfrom
keep-require-resolve
Jul 16, 2025
Merged

fix: should keep require.resolve expressions#395
9aoy merged 2 commits intomainfrom
keep-require-resolve

Conversation

@9aoy
Copy link
Copy Markdown
Collaborator

@9aoy 9aoy commented Jul 16, 2025

Summary

Preserve the require.resolve expression. This syntax behavior in rstest should be consistent with node.js, not rspack.

https://nodejs.org/api/modules.html#requireresolverequest-options

https://rspack.rs/api/runtime-api/module-methods#requireresolve

Related Links

Checklist

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

@netlify
Copy link
Copy Markdown

netlify bot commented Jul 16, 2025

Deploy Preview for rstest-dev ready!

Name Link
🔨 Latest commit 2f4cf72
🔍 Latest deploy log https://app.netlify.com/projects/rstest-dev/deploys/68779446c904e500081f0c80
😎 Deploy Preview https://deploy-preview-395--rstest-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@9aoy 9aoy merged commit 4ed6c7a into main Jul 16, 2025
16 checks passed
@9aoy 9aoy deleted the keep-require-resolve branch July 16, 2025 12:30
@9aoy 9aoy mentioned this pull request Jul 21, 2025
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