@@ -1465,7 +1465,7 @@ Emitted when code coverage is enabled and all tests have completed.
1465
1465
1466
1466
* ` data ` {Object}
1467
1467
* ` file ` {string|undefined} The path of the test file,
1468
- undefined if test is not ran through a file .
1468
+ ` undefined ` if test was run through the REPL .
1469
1469
* ` name ` {string} The test name.
1470
1470
* ` nesting ` {number} The nesting level of the test.
1471
1471
@@ -1475,7 +1475,7 @@ Emitted when a test is dequeued, right before it is executed.
1475
1475
1476
1476
* ` data ` {Object}
1477
1477
* ` file ` {string|undefined} The path of the test file,
1478
- undefined if test is not ran through a file .
1478
+ ` undefined ` if test was run through the REPL .
1479
1479
* ` message ` {string} The diagnostic message.
1480
1480
* ` nesting ` {number} The nesting level of the test.
1481
1481
@@ -1485,7 +1485,7 @@ Emitted when [`context.diagnostic`][] is called.
1485
1485
1486
1486
* ` data ` {Object}
1487
1487
* ` file ` {string|undefined} The path of the test file,
1488
- undefined if test is not ran through a file .
1488
+ ` undefined ` if test was run through the REPL .
1489
1489
* ` name ` {string} The test name.
1490
1490
* ` nesting ` {number} The nesting level of the test.
1491
1491
@@ -1498,7 +1498,7 @@ Emitted when a test is enqueued for execution.
1498
1498
* ` duration ` {number} The duration of the test in milliseconds.
1499
1499
* ` error ` {Error} The error thrown by the test.
1500
1500
* ` file ` {string|undefined} The path of the test file,
1501
- undefined if test is not ran through a file .
1501
+ ` undefined ` if test was run through the REPL .
1502
1502
* ` name ` {string} The test name.
1503
1503
* ` nesting ` {number} The nesting level of the test.
1504
1504
* ` testNumber ` {number} The ordinal number of the test.
@@ -1513,7 +1513,7 @@ Emitted when a test fails.
1513
1513
* ` details ` {Object} Additional execution metadata.
1514
1514
* ` duration ` {number} The duration of the test in milliseconds.
1515
1515
* ` file ` {string|undefined} The path of the test file,
1516
- undefined if test is not ran through a file .
1516
+ ` undefined ` if test was run through the REPL .
1517
1517
* ` name ` {string} The test name.
1518
1518
* ` nesting ` {number} The nesting level of the test.
1519
1519
* ` testNumber ` {number} The ordinal number of the test.
@@ -1526,7 +1526,7 @@ Emitted when a test passes.
1526
1526
1527
1527
* ` data ` {Object}
1528
1528
* ` file ` {string|undefined} The path of the test file,
1529
- undefined if test is not ran through a file .
1529
+ ` undefined ` if test was run through the REPL .
1530
1530
* ` nesting ` {number} The nesting level of the test.
1531
1531
* ` count ` {number} The number of subtests that have ran.
1532
1532
@@ -1536,7 +1536,7 @@ Emitted when all subtests have completed for a given test.
1536
1536
1537
1537
* ` data ` {Object}
1538
1538
* ` file ` {string|undefined} The path of the test file,
1539
- undefined if test is not ran through a file .
1539
+ ` undefined ` if test was run through the REPL .
1540
1540
* ` name ` {string} The test name.
1541
1541
* ` nesting ` {number} The nesting level of the test.
1542
1542
0 commit comments