diff --git a/doc/api/test.md b/doc/api/test.md index e96afd752beac4..d9b59c52f43b19 100644 --- a/doc/api/test.md +++ b/doc/api/test.md @@ -1465,7 +1465,7 @@ Emitted when code coverage is enabled and all tests have completed. * `data` {Object} * `file` {string|undefined} The path of the test file, - undefined if test is not ran through a file. + `undefined` if test was run through the REPL. * `name` {string} The test name. * `nesting` {number} The nesting level of the test. @@ -1475,7 +1475,7 @@ Emitted when a test is dequeued, right before it is executed. * `data` {Object} * `file` {string|undefined} The path of the test file, - undefined if test is not ran through a file. + `undefined` if test was run through the REPL. * `message` {string} The diagnostic message. * `nesting` {number} The nesting level of the test. @@ -1485,7 +1485,7 @@ Emitted when [`context.diagnostic`][] is called. * `data` {Object} * `file` {string|undefined} The path of the test file, - undefined if test is not ran through a file. + `undefined` if test was run through the REPL. * `name` {string} The test name. * `nesting` {number} The nesting level of the test. @@ -1498,7 +1498,7 @@ Emitted when a test is enqueued for execution. * `duration` {number} The duration of the test in milliseconds. * `error` {Error} The error thrown by the test. * `file` {string|undefined} The path of the test file, - undefined if test is not ran through a file. + `undefined` if test was run through the REPL. * `name` {string} The test name. * `nesting` {number} The nesting level of the test. * `testNumber` {number} The ordinal number of the test. @@ -1513,7 +1513,7 @@ Emitted when a test fails. * `details` {Object} Additional execution metadata. * `duration` {number} The duration of the test in milliseconds. * `file` {string|undefined} The path of the test file, - undefined if test is not ran through a file. + `undefined` if test was run through the REPL. * `name` {string} The test name. * `nesting` {number} The nesting level of the test. * `testNumber` {number} The ordinal number of the test. @@ -1526,7 +1526,7 @@ Emitted when a test passes. * `data` {Object} * `file` {string|undefined} The path of the test file, - undefined if test is not ran through a file. + `undefined` if test was run through the REPL. * `nesting` {number} The nesting level of the test. * `count` {number} The number of subtests that have ran. @@ -1536,7 +1536,7 @@ Emitted when all subtests have completed for a given test. * `data` {Object} * `file` {string|undefined} The path of the test file, - undefined if test is not ran through a file. + `undefined` if test was run through the REPL. * `name` {string} The test name. * `nesting` {number} The nesting level of the test.