Skip to content

Commit 90866e8

Browse files
author
Chen WANG
authored
Add more description on unspecified directory in javascript readme (release notes: no) (#6393)
* Add more description on unspecified directory In the example code, the "js" folder appeared for the first time and there is no clue where the current folder is. Therefore, there should be some comments describing what the folder is. Otherwise, like me, spent a lot of time guessing what codes - some release version or the source code - should be downloaded to go to the "js" directory. * Add detailed description on how to run js tests The test files are directly in the Protocol Buffer project js folder. Add more detailed instruction on how and where to run the tests. * Correct two spelling mistakes The two spelling mistakes mentioned in your comments are corrected.
1 parent 107432c commit 90866e8

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,8 @@ If you want, you can compile `protoc` from source instead. To do this
3939
follow the instructions in [the top-level
4040
README](https://github.com/protocolbuffers/protobuf/blob/master/src/README.md).
4141

42-
Once you have `protoc` compiled, you can run the tests by typing:
42+
Once you have `protoc` compiled, you can run the tests provided along with our project to examine whether it can run successfully. In order to do this, you should download the Protocol Buffer source code from the release page with the link above. Then extract the source code and navigate to the folder named `js` containing a `package.json` file and a series of test files. In this folder, you can run the commands below to run the tests automatically.
4343

44-
$ cd js
4544
$ npm install
4645
$ npm test
4746

0 commit comments

Comments
 (0)