@@ -42,7 +42,7 @@ Finally run `npm run dev` to run the service and listen to port `5001`.
42
42
### ` Visual Studio Code `
43
43
* [ Extension Typescript] ( https://marketplace.visualstudio.com/items?itemName=TypeScriptTeam.typescript-474 )
44
44
45
- ### ` NodeJS ` - [ Link] ( https://nodejs.org/ )
45
+ ### ` NodeJS ` ( [ Link] ( https://nodejs.org/ ) )
46
46
* [ Package HTTP Server] ( https://www.npmjs.com/package/http-server )
47
47
``` bash
48
48
# Check installation
@@ -52,7 +52,7 @@ node --version
52
52
npm install --global http-server
53
53
```
54
54
55
- ### ` Yarn ` - [ Link] ( https://classic.yarnpkg.com/lang/en/docs/install/ )
55
+ ### ` Yarn ` ( [ Link] ( https://classic.yarnpkg.com/lang/en/docs/install/ ) )
56
56
``` bash
57
57
# Global installation
58
58
npm install --global yarn
@@ -61,7 +61,7 @@ npm install --global yarn
61
61
yarn --version
62
62
```
63
63
64
- ### ` Nodemon and ts-node ` - [ Link] ( https://blog.logrocket.com/configuring-nodemon-with-typescript/ )
64
+ ### ` Nodemon and ts-node ` ( [ Link] ( https://blog.logrocket.com/configuring-nodemon-with-typescript/ ) )
65
65
``` bash
66
66
# Global installation
67
67
yarn global add nodemon ts-node
@@ -77,7 +77,7 @@ which nodemon
77
77
export PATH=" $( yarn global bin) :$PATH "
78
78
```
79
79
80
- ### ` pino-pretty ` - [ Link] ( https://npm.io/package/pino-pretty )
80
+ ### ` pino-pretty ` ( [ Link] ( https://npm.io/package/pino-pretty ) )
81
81
``` bash
82
82
# Global installation
83
83
npm install -g pino-pretty
@@ -87,7 +87,7 @@ yarn add --dev pino-pretty
87
87
88
88
```
89
89
90
- ### ` Jest ` - [ Link] ( https://jestjs.io/docs/getting-started )
90
+ ### ` Jest ` ( [ Link] ( https://jestjs.io/docs/getting-started ) )
91
91
* and Package [ ts-jest] ( https://www.npmjs.com/package/ts-jest )
92
92
93
93
``` bash
@@ -105,20 +105,15 @@ npm i ts-jest
105
105
106
106
<br />
107
107
108
-
109
-
110
-
111
108
<br />
112
109
113
110
# Run Tests
114
111
115
- ## Unit testing with Jest - [ Link] ( https://jestjs.io/docs/getting-started )
116
-
112
+ ## Unit testing with Jest ([ Link] ( https://jestjs.io/docs/getting-started ) )
117
113
1 . Testing - [ Testing TypeScript apps using Jest] ( https://blog.logrocket.com/testing-typescript-apps-using-jest/ )
118
- 2 . Hotfixes - [ Fix Problems ] ( https://medium.com/@joenjenga/its-jest-common-problem-faced-using-jest-9905e96db8a )
114
+ 2 . Hotfixes - [ Common Issues ] ( https://medium.com/@joenjenga/its-jest-common-problem-faced-using-jest-9905e96db8a )
119
115
120
-
121
- ### Create Test Units
116
+ ## Create Test Units
122
117
``` bash
123
118
# Locate Directory of scraper-backend\test-units
124
119
cd %PROJECTPATH%\s craper-backend\_ _tests__
@@ -127,8 +122,6 @@ cd %PROJECTPATH%\scraper-backend\__tests__
127
122
jest --testEnvironment=node --runInBand
128
123
```
129
124
130
-
131
-
132
125
<br />
133
126
134
127
## Start NodeJS http server
@@ -141,7 +134,6 @@ http-server .
141
134
```
142
135
> Now, you can visit http://127.0.0.1:8080 or http://localhost:8080
143
136
144
-
145
137
## Start scraper-backend Service
146
138
``` bash
147
139
# Locate Directory of scraper-backend Service
0 commit comments