Add tests for ModuleFilenameHelpers #17784
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As per #16851, add tests for ModuleFilenameHelpers. This PR only adds tests for functions behaving as expected. Refer to #16851 for details on others
Summary
馃 Generated by Copilot at b2262eb
This pull request improves the documentation and testing of the webpack project. It fixes some formatting and style issues in
_SETUP.md
,CONTRIBUTING.md
, andREADME.md
, and adds a reference toSECURITY.md
in the contribution guidelines. It also adds unit tests for theModuleFilenameHelpers
module intest/ModuleFilenameHelpers.test.js
.Details
馃 Generated by Copilot at b2262eb
webpack
inREADME.md
andCONTRIBUTING.md
for consistency and branding (link, link, link, link, link)concepts
page inREADME.md
(link)Reporting Security Issues
section fromSECURITY.md
toCONTRIBUTING.md
to consolidate information for contributors (link)CONTRIBUTING.md
for better readability (link, link)yarn lint
command and remove duplicate code block in_SETUP.md
(link, link)ModuleFilenameHelpers
module intest/ModuleFilenameHelpers.test.js
(link)