diff --git a/doc/api/test.md b/doc/api/test.md index 21349b46b702e8..c63915a9f17c52 100644 --- a/doc/api/test.md +++ b/doc/api/test.md @@ -1045,7 +1045,7 @@ test('runs timers as setTime passes ticks', (context) => { ## Snapshot testing An object whose methods are used to configure default snapshot settings in the @@ -1926,7 +1926,7 @@ placing common configuration code in a module preloaded with `--require` or ### `snapshot.setDefaultSnapshotSerializers(serializers)` * `serializers` {Array} An array of synchronous functions used as the default @@ -1941,7 +1941,7 @@ more robust serialization mechanism is required, this function should be used. ### `snapshot.setResolveSnapshotPath(fn)` * `fn` {Function} A function used to compute the location of the snapshot file. @@ -3602,7 +3602,7 @@ highlighting. #### `context.assert.snapshot(value[, options])` * `value` {any} A value to serialize to a string. If Node.js was started with @@ -3667,7 +3667,7 @@ the path of the root test file. ### `context.fullName` The name of the test and each of its ancestors, separated by `>`. @@ -3970,6 +3970,14 @@ The absolute path of the test file that created the current suite. If a test file imports additional modules that generate suites, the imported suites will return the path of the root test file. +### `context.fullName` + + + +The name of the suite and each of its ancestors, separated by `>`. + ### `context.name`