@@ -1398,7 +1398,7 @@ Emitted when code coverage is enabled and all tests have completed.
1398
1398
1399
1399
* ` data ` {Object}
1400
1400
* ` file ` {string|undefined} The path of the test file,
1401
- undefined if test is not ran through a file .
1401
+ ` undefined ` if test was run through the REPL .
1402
1402
* ` name ` {string} The test name.
1403
1403
* ` nesting ` {number} The nesting level of the test.
1404
1404
@@ -1408,7 +1408,7 @@ Emitted when a test is dequeued, right before it is executed.
1408
1408
1409
1409
* ` data ` {Object}
1410
1410
* ` file ` {string|undefined} The path of the test file,
1411
- undefined if test is not ran through a file .
1411
+ ` undefined ` if test was run through the REPL .
1412
1412
* ` message ` {string} The diagnostic message.
1413
1413
* ` nesting ` {number} The nesting level of the test.
1414
1414
@@ -1418,7 +1418,7 @@ Emitted when [`context.diagnostic`][] is called.
1418
1418
1419
1419
* ` data ` {Object}
1420
1420
* ` file ` {string|undefined} The path of the test file,
1421
- undefined if test is not ran through a file .
1421
+ ` undefined ` if test was run through the REPL .
1422
1422
* ` name ` {string} The test name.
1423
1423
* ` nesting ` {number} The nesting level of the test.
1424
1424
@@ -1431,7 +1431,7 @@ Emitted when a test is enqueued for execution.
1431
1431
* ` duration ` {number} The duration of the test in milliseconds.
1432
1432
* ` error ` {Error} The error thrown by the test.
1433
1433
* ` file ` {string|undefined} The path of the test file,
1434
- undefined if test is not ran through a file .
1434
+ ` undefined ` if test was run through the REPL .
1435
1435
* ` name ` {string} The test name.
1436
1436
* ` nesting ` {number} The nesting level of the test.
1437
1437
* ` testNumber ` {number} The ordinal number of the test.
@@ -1446,7 +1446,7 @@ Emitted when a test fails.
1446
1446
* ` details ` {Object} Additional execution metadata.
1447
1447
* ` duration ` {number} The duration of the test in milliseconds.
1448
1448
* ` file ` {string|undefined} The path of the test file,
1449
- undefined if test is not ran through a file .
1449
+ ` undefined ` if test was run through the REPL .
1450
1450
* ` name ` {string} The test name.
1451
1451
* ` nesting ` {number} The nesting level of the test.
1452
1452
* ` testNumber ` {number} The ordinal number of the test.
@@ -1459,7 +1459,7 @@ Emitted when a test passes.
1459
1459
1460
1460
* ` data ` {Object}
1461
1461
* ` file ` {string|undefined} The path of the test file,
1462
- undefined if test is not ran through a file .
1462
+ ` undefined ` if test was run through the REPL .
1463
1463
* ` nesting ` {number} The nesting level of the test.
1464
1464
* ` count ` {number} The number of subtests that have ran.
1465
1465
@@ -1469,7 +1469,7 @@ Emitted when all subtests have completed for a given test.
1469
1469
1470
1470
* ` data ` {Object}
1471
1471
* ` file ` {string|undefined} The path of the test file,
1472
- undefined if test is not ran through a file .
1472
+ ` undefined ` if test was run through the REPL .
1473
1473
* ` name ` {string} The test name.
1474
1474
* ` nesting ` {number} The nesting level of the test.
1475
1475
0 commit comments