Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "core/machine/yaml/mapPushTests"

Index

Type aliases

CreatePushTest

CreatePushTest: (test: any, additionalTests: Record<string, PushTest>, extensionTests: Record<string, PushTestMaker>) => Promise<PushTest | undefined>

Type declaration

PushTestMaker

PushTestMaker<G>: (params: G) => ((pli: StatefulPushListenerInvocation) => Promise<boolean>) | Promise<PushTest> | PushTest

Type parameters

  • G: Record<string, any> = any

Type declaration

Variables

Const CreatePushTests

CreatePushTests: ExtensionTest[] = [HasFile,IsRepo,IsBranch,IsDefaultBranch,IsGoal,IsSkillConfigured,IsMaterialChange,HasFileContaining,HasResourceProvider,HasCommit,Not,And,Or,AdditionalTest,FunctionTest,ExtensionTest,]

Functions

Const AdditionalTest

Const And

Const ExtensionTest

  • ExtensionTest(test: any, additionalTests: any, extensionTests: any): Promise<any>

Const FunctionTest

Const HasCommit

Const HasFile

Const HasFileContaining

Const HasResourceProvider

Const IsBranch

Const IsDefaultBranch

Const IsGoal

Const IsMaterialChange

Const IsRepo

Const IsSkillConfigured

Const Not

Const Or

getGlobPatterns

  • getGlobPatterns(test: any): string[]

getStringOrRegexp

  • getStringOrRegexp(toTest: string | { regexp: string }): string | RegExp | undefined

mapTest

mapTests

Generated using TypeDoc