Skip to content

Commit 9e8627a

Browse files
authored
Merge pull request #16 from hadiindrawan/feature/docs
update README.md
2 parents 8d4543e + a2d3cd6 commit 9e8627a

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

README.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,10 @@ npm -v
4949

5050
## Installation
5151

52+
> For using this package name in your bash / terminal, you need to give ' (apostrophe) before and after the package name like below example. Otherwise, you will get an error.
53+
5254
1. Create your local project directory
5355
2. [Export your Postman collection](https://learning.postman.com/docs/getting-started/importing-and-exporting-data/#exporting-collections) to JSON with Collection v2.1 format
54-
3. Install package with npm
55-
56-
```bash
57-
npm i --save-dev '@dot.indonesia/po-gen'
58-
```
5956
4. Create `package.json` file
6057

6158
```bash
@@ -68,6 +65,11 @@ npm -v
6865
npm init -y
6966
```
7067

68+
3. Install package with npm
69+
70+
```bash
71+
npm i --save-dev '@dot.indonesia/po-gen'
72+
```
7173
1. Generate template Mocha-Chai script with command
7274
```bash
7375
npx '@dot.indonesia/po-gen'
@@ -119,13 +121,13 @@ npm -v
119121
├───helper
120122
├───pages
121123
│ └───User
122-
│ POST_login.js
124+
│ POST_login.pages.js
123125
├───scenarios
124126
│ └───User
125127
│ POST_login.spec.js
126128
├───schema
127129
| └───User
128-
| POST_login.json
130+
| POST_login.schema.js
129131
└───utils
130132
```
131133
@@ -858,7 +860,7 @@ you can use this configuration steps:
858860
859861
For example the token and id value:
860862
```js
861-
new Request().request(token_value, id_value,
863+
new pages().request(token_value, id_value,
862864
(err, res) => {});
863865
```
864866

0 commit comments

Comments
 (0)