Skip to content

runLwcJest

runLwcJest(options): Promise<RunLwcJestResult>

Defined in: packages/simply-cicd-core/src/build/lwcJest.ts:93

Installs the LWC Jest test libraries and runs the project’s LWC Jest tests with coverage, writing a JUnit report to ./test-results/lwc/test-result.xml alongside any reporters the project’s own Jest config sets. A failure is logged and returned, unless failOnTestFailure is set, in which case it also throws.

RunLwcJestOptions

Promise<RunLwcJestResult>