Doctest Contribution Guidelines | Guidelines for running doctests

This commit is contained in:
marsonya
2020-11-02 19:56:52 +05:30
parent f9b95f4d87
commit c8c715feb4

View File

@ -98,6 +98,11 @@ It is advised that you add the Doctests in a multiline comment just after the Al
*/
For Code Structure reference see [this file](https://github.com/TheAlgorithms/Javascript/blob/master/Sorts/BubbleSort.js).
You can run the doctest by using the command
```
$ doctest MyFile.js // if that fails, try: npx doctest MyFile.js
```
- Most importantly,
- **Be consistent in the use of these guidelines when submitting.**