Skip to content

Commit ca0448b

Browse files
committed
Fixes: #18774
1 parent 5bf8d98 commit ca0448b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

doc/guides/writing-tests.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,10 @@ Add tests when:
2222
See the test [directory structure overview](https://github.com/nodejs/node/blob/master/test/README.md)
2323
for an outline of existing test types and their locations.
2424
When deciding on whether to expand an existing test file or create a new one,
25-
consider going through the files related to the subsystem (e.g. ones starting with "test-streams" for `lib/streams.js`)
26-
and assessing whether a related test already exists.
25+
consider going through the files related to the subsystem.
26+
For example, take a look at tests starting with "test-streams"
27+
when writing tests for `lib/streams.js`
28+
2729

2830
## Test structure
2931

0 commit comments

Comments
 (0)