INNER CODE UNIT · TypeScript

matched

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

  const matched = context.state.comments.some(comment =>
    comment.body.includes(fragment)
  )
  assert.equal(matched, true, diagnostics(context))
}

function assertReaction(context: ScenarioContext, content: string): void {
  const matched = context.state.reactions.some(
    reaction => reaction.content === content
  )
  assert.equal(matched, true, diagnostics(context))
}

function assertNoDeployment(
  context: ScenarioContext,
  result: AcceptanceRunResult
): void {
  assert.equal(

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…