Add unit tests for toMatchConfig

This commit is contained in:
Josh Dales
2023-03-18 17:10:25 -04:00
parent e9a1777eb0
commit 65b7640e45
3 changed files with 43 additions and 3 deletions

View File

@@ -127,7 +127,7 @@ function getLabelConfigMapFromObject(
return labelMap;
}
function toMatchConfig(config: any): MatchConfig {
export function toMatchConfig(config: any): MatchConfig {
const changedFilesConfig = toChangedFilesMatchConfig(config);
const branchConfig = toBranchMatchConfig(config);