Skip to content

createTestGate

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/libs/agent-core/src/autonomous/test-watcher.ts

Creates a QualityGate array that checks whether tests pass. If a TestWatcher is provided, uses its last result to avoid re-running. If a LintTestLoop is provided, uses its state to check verification recency.

Signature

ts
function createTestGate(config: TestGateConfig, lintTestLoop: LintTestLoop, testWatcher: TestWatcher): QualityGate[]

Parameters

NameType
configTestGateConfig
lintTestLoopLintTestLoop
testWatcherTestWatcher

Returns: QualityGate[]

Was this page helpful?

Download as PDF