温馨提示:本站仅提供公开网络链接索引服务,不存储、不篡改任何第三方内容,所有内容版权归原作者所有
AI智能索引来源:http://www.bun.com/reference/node/test/default/EventData/TestFail
点击访问原文链接

interface TestFail | Node.js node:test module | Bun

interface TestFail | Node.js node:test module | BunBuildDocsReferenceGuidesBlogDiscord/node:test/default/EventData/TestFailPcolumnPdetailsPfilePlinePnamePnestingPskipPtestNumberPtodo

Search the reference...

/

BuildDocsReferenceGuidesBlogDiscord/node:test/default/EventData/TestFailPcolumnPdetailsPfilePlinePnamePnestingPskipPtestNumberPtodo

interface

test.default.EventData.TestFailinterface TestFailcolumn?: number

The column number where the test is defined, or undefined if the test was run through the REPL.

details: { attempt: number; duration_ms: number; error: Error; type: 'suite' | 'test' }

Additional execution metadata.

file?: string

The path of the test file, undefined if test was run through the REPL.

line?: number

The line number where the test is defined, or undefined if the test was run through the REPL.

name: string

The test name.

nesting: number

The nesting level of the test.

skip?: string | boolean

Present if context.skip is called.

testNumber: number

The ordinal number of the test.

todo?: string | boolean

Present if context.todo is called.

Resources

ReferenceDocsGuidesDiscordMerch StoreGitHubBlog 

Toolkit

RuntimePackage managerTest runnerBundlerPackage runner

Project

Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicense

Baked with ❤️ in San Francisco

We're hiring →

interface TestFail | Node.js node:test module | Bun,AI智能索引,全网链接索引,智能导航,网页索引

    API documentation for interface node:test.default.EventData.TestFail | Bun