Skip to content

Commit 9f01b34

Browse files
addaleaxjasnell
authored andcommitted
doc: link to common docs in test writing guide
PR-URL: #13118 Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 8914f7b commit 9f01b34

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/guides/writing-tests.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const common = require('../common');
5656
The first line enables strict mode. All tests should be in strict mode unless
5757
the nature of the test requires that the test run without it.
5858

59-
The second line loads the `common` module. The `common` module is a helper
59+
The second line loads the `common` module. The [`common` module][] is a helper
6060
module that provides useful tools for the tests.
6161

6262
Even if a test uses no functions or other properties exported by `common`,
@@ -340,3 +340,4 @@ will depend on what is being tested if this is required or not.
340340
341341
[Google Test]: https://github.com/google/googletest
342342
[Test fixture]: https://github.com/google/googletest/blob/master/googletest/docs/Primer.md#test-fixtures-using-the-same-data-configuration-for-multiple-tests
343+
[`common` module]: https://github.com/nodejs/node/blob/master/test/common/README.md

0 commit comments

Comments
 (0)