HttpService did not work in e2e tests because Jest testEnvironment was jsdom by default. HttpService threw NetworkError on each request because axios uses XHR adapter instead of HTTP adapter in this environment. Now, Jest testEnvironment is node. |
||
|---|---|---|
| src | ||
| test | ||
| .gitignore | ||
| .prettierrc | ||
| README.md | ||
| nodemon-debug.json | ||
| nodemon.json | ||
| package-lock.json | ||
| package.json | ||
| tsconfig.json | ||
| tsconfig.spec.json | ||
| tslint.json | ||
| webpack.config.js | ||
| yarn.lock | ||
README.md
A progressive Node.js framework for building efficient and scalable server-side applications, heavily inspired by Angular.
Description
Nest framework TypeScript starter repository.
Installation
$ npm install
Running the app
# development
$ npm run start
# watch mode
$ npm run start:dev
# incremental rebuild (webpack)
$ npm run webpack
$ npm run start:hmr
# production mode
npm run start:prod
Test
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
Support
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.
Stay in touch
- Author - Kamil Myśliwiec
- Website - https://nestjs.com
- Twitter - @nestframework
License
Nest is MIT licensed.