Skip to content

runScratchApexTests

runScratchApexTests(options): Promise<void>

Defined in: packages/simply-cicd-core/src/build/testScratch.ts:37

Authenticates to the scratch org and runs its Apex tests.

The original --disable-apex-tests flag was checked against the wrong option name internally (it re-checked the generic --disabled flag), making it a no-op. Here it actually gates the test run.

RunScratchApexTestsOptions

Promise<void>