An object containing the counts of various test results.
interface TestSummary | Node.js node:test module | Bun BuildDocsReferenceGuidesBlogDiscord/node:test/default/EventData/TestSummaryPcountsPduration_msPfilePsuccess BuildDocsReferenceGuidesBlogDiscord /node:test/default/EventData/TestSummaryPcountsPduration_msPfilePsuccess test.default.EventData.TestSummaryinterface TestSummarycounts: { cancelled: number; passed: number; skipped: number; suites: number; tests: number; todo: number; topLevel: number } duration_ms: number file: undefined | string success: boolean
Search the reference...
/
interface
The duration of the test run in milliseconds.
The path of the test file that generated the summary. If the summary corresponds to multiple files, this value is undefined.
Indicates whether or not the test run is considered successful or not. If any error condition occurs, such as a failing test or unmet coverage threshold, this value will be set to false.
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →interface TestSummary | Node.js node:test module | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- API documentation for interface node:test.default.EventData.TestSummary | Bun