testjavascript/nodejs-integration-tests-best-practices
✅ Beyond the basics of Node.js testing. Including a super-comprehensive best practices list and an example app (March 2024)
JavaScript
Issues
- 1
Close sequalize connection in stopWebServer
#136 opened by mikicho - 1
Why mark `async` in the callback of `beforeAll`?
#145 opened by nyngwang - 2
MQ best practices
#126 opened by bodinsamuel - 0
- 1
Create Fastify example
#88 opened by goldbergyoni - 0
Add more mySQL optimization flags
#133 opened by goldbergyoni - 0
Create contributors bot
#132 opened by goldbergyoni - 0
Create stale bot
#131 opened by goldbergyoni - 2
Create my-first-pr issues
#121 opened by goldbergyoni - 0
There are 2 api.js
#120 opened by goldbergyoni - 1
Nock with remote swagger
#79 opened by goldbergyoni - 0
Create contributors table
#116 opened by rluvaton - 0
In Collab section - Write about yourself
#113 opened by goldbergyoni - 0
Write last 3 best practices
#112 opened by goldbergyoni - 5
A recipe with Mocha
#32 opened by goldbergyoni - 5
Best practices ideas
#43 opened by goldbergyoni - 0
Put code examples
#91 opened by goldbergyoni - 0
Make TOC and recipe list (homepage) clickable
#111 opened by goldbergyoni - 1
put collaborators section
#92 opened by goldbergyoni - 2
- 0
Nest example
#74 opened by goldbergyoni - 1
An example with web socket
#77 opened by goldbergyoni - 0
DB cleanup recepie
#84 opened by goldbergyoni - 2
Test for memory-leak with leakage
#50 opened by goldbergyoni - 0
VSCode snippets for integration tests
#83 opened by goldbergyoni - 0
Recipe: Test network chaos
#59 opened by goldbergyoni - 2
More isolation scenarios
#68 opened by goldbergyoni - 5
- 0
Move logic to /domain/ordersService.js
#76 opened by goldbergyoni - 0
Fastify example
#75 opened by goldbergyoni - 0
GraphQL example
#78 opened by goldbergyoni - 0
Lazy watch plugin
#80 opened by goldbergyoni - 2
- 3
Stub inside beforeAll
#67 opened by DanielGluskin - 3
Discussion: environment setting
#66 opened by DanielGluskin - 0
🔥 Challenge: Migration tests recipe
#58 opened by goldbergyoni - 0
Reuse tests against a remote environment
#56 opened by goldbergyoni - 0
Apply nock best practices
#57 opened by goldbergyoni - 0
- 1
Deferring our weekendthon in a bit
#33 opened by goldbergyoni - 0
- 0
How to assert nocks - Using isDone or by getting the last interception and expecting on it
#53 opened by mikicho - 0
Test error handling recipe
#44 opened by goldbergyoni - 6
Add and test a GET route
#51 opened by goldbergyoni - 0
Use validator for nock body pattern matching
#52 opened by mikicho - 0
Use 'Jest suspend' to allow pausing tests
#31 opened by goldbergyoni - 0
Proper cleaning with before/after hooks
#48 opened by DanielGluskin - 4
basic-tests fail with Nock
#35 opened by DanielGluskin - 0
add contribution file
#39 opened by mikicho - 1
redundant initialize call
#36 opened by DanielGluskin