- Introduction
- OOP
- Functional
- Asynchrone
- Testing
- Design Patterns
- DOM
- Web Components
- Node.js
- TypeScript
- React
Download and install Node.js 18
or
nvm use 18
apt-get install nodejs
or
brew install nodejs
For example
node oop/intruduction/01-list.js
node oop/fib/fib.js
pnpm test
pnpm test:examples
pnpm test:unit
pnpm watch:test
earn-javascript on main [!?⇡] is 📦 v0.0.1 via v18.16.0 via 💎 v3.0.0
❯ yarn create jest
yarn create v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Installed "create-jest@29.7.0" with binaries:
- create-jest
[#############################################################################] 242/242
The following questions will help Jest to create a suitable configuration for your project
✔ Would you like to use Jest when running "test" script in "package.json"? … yes
✔ Would you like to use Typescript for the configuration file? … no
✔ Choose the test environment that will be used for testing › node
✔ Do you want Jest to add coverage reports? … no
✔ Which provider should be used to instrument code for coverage? › v8
✔ Automatically clear mock calls, instances, contexts and results before every test? … yes