Repository navigation
test: refactor how spec files are collected - #23774
Merged
Merged
Conversation
alexeykuzmin
force-pushed
the
alkuzmin/get-test-files
branch
2 times, most recently
from
May 26, 2020 15:50
f6f932c to
064fd43
Compare
alexeykuzmin
force-pushed
the
alkuzmin/get-test-files
branch
from
May 26, 2020 16:28
064fd43 to
5d7bd61
Compare
zcbenz
approved these changes
May 27, 2020
codebytere
approved these changes
May 27, 2020
|
No Release Notes |
Contributor
|
I was unable to backport this PR to "8-x-y" cleanly; |
Contributor
|
I was unable to backport this PR to "9-x-y" cleanly; |
Contributor
|
I have automatically backported this PR to "10-x-y", please check out #23811 |
Contributor
|
I was unable to backport this PR to "7-3-x" cleanly; |
Contributor
|
@alexeykuzmin has manually backported this PR to "9-x-y", please check out #23814 |
Contributor
|
@alexeykuzmin has manually backported this PR to "8-x-y", please check out #23815 |
Contributor
|
@alexeykuzmin has manually backported this PR to "7-3-x", please check out #23816 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description of Change
Just a refactoring.
Move all logic of how spec files are matched into a single function (twice). We now match files by a file name (
/-spec\.[tj]s$/) pattern, and optionally select some by a file name (npm_config_match) or a full file path (argv.files).Checklist
npm testpassesRelease Notes
Notes: none