- JavaScript 84.4%
- HTML 14.3%
- CSS 0.7%
- ReScript 0.6%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .cache/replit | ||
| controllers | ||
| public | ||
| routes | ||
| tests | ||
| views | ||
| .gitignore | ||
| .replit | ||
| assertion-analyser.js | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| replit_zip_error_log.txt | ||
| server.js | ||
| test-runner.js | ||
Stock Price Checker
HTTP Requests
I originally depended on the request package for making
HTTP requests, but I just learn that the package is in maintenance mode.
https://github.com/request/request/issues/3142
As a result, I'm using Axios instead.
Integration Testing
For integration testing since I'm currently not intending to setup anything to mock API responses, I'm just testing the structure of the data rather than actual values.
I may come back to this later, and try think of the lightest solution to mock the API and database to have slightly more useful tests.
Something freeCodeCamp could do to improve, is prior to making students write their own functional tests, show users how they can properly test methods or classes that are stateful and depend on something stateful.