Module "core/machine/yaml/mapPushTests"
Type aliases
PushTestMaker
Type parameters
-
G: Record<string, any> = any
Variables
Const CreatePushTests
Create
PushTests: ExtensionTest[] = [HasFile,IsRepo,IsBranch,IsDefaultBranch,IsGoal,IsSkillConfigured,IsMaterialChange,HasFileContaining,HasResourceProvider,HasCommit,Not,And,Or,AdditionalTest,FunctionTest,ExtensionTest,]
Functions
Const AdditionalTest
-
Parameters
-
test: any
-
additionalTests: Record<string, PushTest>
Const ExtensionTest
- ExtensionTest(test: any, additionalTests: any, extensionTests: any): Promise<any>
-
Parameters
-
test: any
-
additionalTests: any
-
extensionTests: any
Const HasResourceProvider
getGlobPatterns
- getGlobPatterns(test: any): string[]
-
Parameters
Returns string[]
getStringOrRegexp
- getStringOrRegexp(toTest: string | { regexp: string }): string | RegExp | undefined
-
Parameters
-
toTest: string | { regexp: string }
Returns string | RegExp | undefined