INNER CODE UNIT · TypeScript

assertNoLockRoutes

github/branch-deploy · tools/acceptance/index.ts:104

function assertNoLockRoutes(context: ScenarioContext): void {
  assert.deepEqual(
    context.routeLog.filter(
      route =>
        route.path.includes('/git/') ||
        route.path.includes('/contents/lock.json')
    ),
    [],
    diagnostics(context)
  )
}

function apiPath(path: string): string {
  return `/repos/${ACCEPTANCE_REPOSITORY.owner}/${ACCEPTANCE_REPOSITORY.repo}${path}`
}

function restoreEnvironment(name: string, value: string | undefined): void {
  if (value === undefined) {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…