supertest
π· μ μ°½ν APIλ₯Ό μ¬μ©νμ¬ Node.js HTTP μλ²λ₯Ό ν μ€νΈνκΈ° μν μνΌ μμ΄μ νΈ κΈ°λ° λΌμ΄λΈλ¬λ¦¬μ λλ€. @forwardemail, @ladjs, @spamscanner, @breejs, @cabinjs, @lassjsλ₯Ό μν΄ μ μ§ κ΄λ¦¬λ©λλ€.
νμΌ νμκΈ°
μ΅μ’ λ²μ λ€μ΄λ‘λ (.zip)- ci.yml
- remove-deps-4-old-node.js
- assertion.js
- index.js
- agent.js
- test.js
- test_cert.pem
- test_key.pem
- .eslintrc
- cookies.js
- issue-fixes.js
- supertest.js
- throwError.js
- .commitlintrc.js
- .editorconfig
- .eslintrc
- .gitignore
- .npmignore
- .npmrc
- index.js
- LICENSE
- package-lock.json
- package.json
- README.md
# μ€μΉ κ°μ΄λ
1. μ½λ λ΄λ €λ°κΈ°
git clone https://github.com/forwardemail/supertest
κΉνλΈμμ νλ‘μ νΈ μ½λ μ 체λ₯Ό λ΄ μ»΄ν¨ν°λ‘ λ΄λ €λ°μ΅λλ€.
cd supertest
λ°©κΈ λ΄λ €λ°μ νλ‘μ νΈ ν΄λ μμΌλ‘ μ΄λν©λλ€.
2. Node.js
μ¬μ μΆμ²μ¬μ μ€λΉλ¬Ό
npm install supertest --save-dev
package.jsonμ λͺ μλ λΌμ΄λΈλ¬λ¦¬λ€μ λ΄λ €λ°μ μ€μΉν©λλ€.
λͺ
λ Ήμ΄ μ€ν ν ν°λ―Έλμ λνλλ μ£Όμ(λ³΄ν΅ http://localhost:3000 νν)λ₯Ό λΈλΌμ°μ μμ μ΄μ΄λ³΄μΈμ.
μ΄ λ ν¬μ READMEμ μ ν μ€μ λͺ λ Ήμ΄λ₯Ό κ·Έλλ‘ κ°μ Έμμ΅λλ€.
// repository documentation
Was this content helpful?
(0 ratings)
