Skip to content

Commit c8c715f

Browse files
committed
Doctest Contribution Guidelines | Guidelines for running doctests
1 parent f9b95f4 commit c8c715f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CONTRIBUTING.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,11 @@ It is advised that you add the Doctests in a multiline comment just after the Al
9898
*/
9999
For Code Structure reference see [this file](https://github.com/TheAlgorithms/Javascript/blob/master/Sorts/BubbleSort.js).
100100
101+
You can run the doctest by using the command
102+
```
103+
$ doctest MyFile.js // if that fails, try: npx doctest MyFile.js
104+
```
105+
101106
102107
- Most importantly,
103108
- **Be consistent in the use of these guidelines when submitting.**

0 commit comments

Comments
 (0)