@@ -2049,8 +2049,12 @@ Emitted when code coverage is enabled and all tests have completed.
20492049### Event: ` 'test:dequeue' `
20502050
20512051* ` data ` {Object}
2052+ * ` column ` {number|undefined} The column number where the test is defined, or
2053+ ` undefined ` if the test was run through the REPL.
20522054 * ` file ` {string|undefined} The path of the test file,
20532055 ` undefined ` if test was run through the REPL.
2056+ * ` line ` {number|undefined} The line number where the test is defined, or
2057+ ` undefined ` if the test was run through the REPL.
20542058 * ` name ` {string} The test name.
20552059 * ` nesting ` {number} The nesting level of the test.
20562060
@@ -2059,8 +2063,12 @@ Emitted when a test is dequeued, right before it is executed.
20592063### Event: ` 'test:diagnostic' `
20602064
20612065* ` data ` {Object}
2066+ * ` column ` {number|undefined} The column number where the test is defined, or
2067+ ` undefined ` if the test was run through the REPL.
20622068 * ` file ` {string|undefined} The path of the test file,
20632069 ` undefined ` if test was run through the REPL.
2070+ * ` line ` {number|undefined} The line number where the test is defined, or
2071+ ` undefined ` if the test was run through the REPL.
20642072 * ` message ` {string} The diagnostic message.
20652073 * ` nesting ` {number} The nesting level of the test.
20662074
@@ -2069,8 +2077,12 @@ Emitted when [`context.diagnostic`][] is called.
20692077### Event: ` 'test:enqueue' `
20702078
20712079* ` data ` {Object}
2080+ * ` column ` {number|undefined} The column number where the test is defined, or
2081+ ` undefined ` if the test was run through the REPL.
20722082 * ` file ` {string|undefined} The path of the test file,
20732083 ` undefined ` if test was run through the REPL.
2084+ * ` line ` {number|undefined} The line number where the test is defined, or
2085+ ` undefined ` if the test was run through the REPL.
20742086 * ` name ` {string} The test name.
20752087 * ` nesting ` {number} The nesting level of the test.
20762088
@@ -2079,6 +2091,8 @@ Emitted when a test is enqueued for execution.
20792091### Event: ` 'test:fail' `
20802092
20812093* ` data ` {Object}
2094+ * ` column ` {number|undefined} The column number where the test is defined, or
2095+ ` undefined ` if the test was run through the REPL.
20822096 * ` details ` {Object} Additional execution metadata.
20832097 * ` duration_ms ` {number} The duration of the test in milliseconds.
20842098 * ` error ` {Error} An error wrapping the error thrown by the test.
@@ -2087,6 +2101,8 @@ Emitted when a test is enqueued for execution.
20872101 this is a suite.
20882102 * ` file ` {string|undefined} The path of the test file,
20892103 ` undefined ` if test was run through the REPL.
2104+ * ` line ` {number|undefined} The line number where the test is defined, or
2105+ ` undefined ` if the test was run through the REPL.
20902106 * ` name ` {string} The test name.
20912107 * ` nesting ` {number} The nesting level of the test.
20922108 * ` testNumber ` {number} The ordinal number of the test.
@@ -2098,12 +2114,16 @@ Emitted when a test fails.
20982114### Event: ` 'test:pass' `
20992115
21002116* ` data ` {Object}
2117+ * ` column ` {number|undefined} The column number where the test is defined, or
2118+ ` undefined ` if the test was run through the REPL.
21012119 * ` details ` {Object} Additional execution metadata.
21022120 * ` duration_ms ` {number} The duration of the test in milliseconds.
21032121 * ` type ` {string|undefined} The type of the test, used to denote whether
21042122 this is a suite.
21052123 * ` file ` {string|undefined} The path of the test file,
21062124 ` undefined ` if test was run through the REPL.
2125+ * ` line ` {number|undefined} The line number where the test is defined, or
2126+ ` undefined ` if the test was run through the REPL.
21072127 * ` name ` {string} The test name.
21082128 * ` nesting ` {number} The nesting level of the test.
21092129 * ` testNumber ` {number} The ordinal number of the test.
@@ -2115,8 +2135,12 @@ Emitted when a test passes.
21152135### Event: ` 'test:plan' `
21162136
21172137* ` data ` {Object}
2138+ * ` column ` {number|undefined} The column number where the test is defined, or
2139+ ` undefined ` if the test was run through the REPL.
21182140 * ` file ` {string|undefined} The path of the test file,
21192141 ` undefined ` if test was run through the REPL.
2142+ * ` line ` {number|undefined} The line number where the test is defined, or
2143+ ` undefined ` if the test was run through the REPL.
21202144 * ` nesting ` {number} The nesting level of the test.
21212145 * ` count ` {number} The number of subtests that have ran.
21222146
@@ -2125,8 +2149,12 @@ Emitted when all subtests have completed for a given test.
21252149### Event: ` 'test:start' `
21262150
21272151* ` data ` {Object}
2152+ * ` column ` {number|undefined} The column number where the test is defined, or
2153+ ` undefined ` if the test was run through the REPL.
21282154 * ` file ` {string|undefined} The path of the test file,
21292155 ` undefined ` if test was run through the REPL.
2156+ * ` line ` {number|undefined} The line number where the test is defined, or
2157+ ` undefined ` if the test was run through the REPL.
21302158 * ` name ` {string} The test name.
21312159 * ` nesting ` {number} The nesting level of the test.
21322160
@@ -2137,7 +2165,11 @@ defined.
21372165### Event: ` 'test:stderr' `
21382166
21392167* ` data ` {Object}
2168+ * ` column ` {number|undefined} The column number where the test is defined, or
2169+ ` undefined ` if the test was run through the REPL.
21402170 * ` file ` {string} The path of the test file.
2171+ * ` line ` {number|undefined} The line number where the test is defined, or
2172+ ` undefined ` if the test was run through the REPL.
21412173 * ` message ` {string} The message written to ` stderr ` .
21422174
21432175Emitted when a running test writes to ` stderr ` .
@@ -2146,7 +2178,11 @@ This event is only emitted if `--test` flag is passed.
21462178### Event: ` 'test:stdout' `
21472179
21482180* ` data ` {Object}
2181+ * ` column ` {number|undefined} The column number where the test is defined, or
2182+ ` undefined ` if the test was run through the REPL.
21492183 * ` file ` {string} The path of the test file.
2184+ * ` line ` {number|undefined} The line number where the test is defined, or
2185+ ` undefined ` if the test was run through the REPL.
21502186 * ` message ` {string} The message written to ` stdout ` .
21512187
21522188Emitted when a running test writes to ` stdout ` .
0 commit comments