Pure helpers for mapping git changed files to impacted tests.
- Source:
Methods
(static) computeImpactedTests(args) → {Object}
Resolve the subset of approved tests impacted by git-file and crawl-page diffs.
Parameters:
| Name | Type | Description | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
args |
Object |
Properties
|
- Source:
Returns:
- Type
- Object
(static) routePrefixesForChangedFiles(changedFiles, routeMapopt) → {Array.<string>}
Derive URL path prefixes that are likely affected by a list of changed files.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
changedFiles |
Array.<string> | ||
routeMap |
Object |
<optional> |
- Source:
Returns:
- Type
- Array.<string>