MCPcopy Create free account
hub / github.com/angular/dev-infra / createIsolatedValidationConfig

Function createIsolatedValidationConfig

ng-dev/pr/common/test/common.spec.ts:258–275  ·  view source on GitHub ↗
(
  overrides: Partial<PullRequestValidationConfig>,
)

Source from the content-addressed store, hash-verified

256});
257
258function createIsolatedValidationConfig(
259 overrides: Partial<PullRequestValidationConfig>,
260): PullRequestValidationConfig {
261 const config = {
262 assertPending: false,
263 assertMergeReady: false,
264 assertSignedCla: false,
265 assertChangesAllowForTargetLabel: false,
266 assertPassingCi: false,
267 assertCompletedReviews: false,
268 assertEnforcedStatuses: false,
269 assertMinimumReviews: false,
270 assertIsolatePrimitive: false,
271 assertEnforceTested: false,
272 };
273
274 return {...config, ...overrides};
275}
276
277function createTestPullRequest(): PullRequestFromGithub {
278 return {

Callers 1

common.spec.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected