StackOverflow Questions for Tag: supertest

Manoj
Manoj

Reputation: 483

Timeout - Async callback was not invoked within the 5000ms timeout specified by jest.setTimeout

Score: 3

Views: 11574

Answers: 2

Read More
TomFree
TomFree

Reputation: 1409

RawBody not working for testingModule.createNestApplication(...) in nest.js

Score: 3

Views: 510

Answers: 1

Read More
Lexi Wright
Lexi Wright

Reputation: 41

How do you delete all documents from a MongoDB collection after each test?

Score: 1

Views: 2553

Answers: 2

Read More
suhas_sm
suhas_sm

Reputation: 2114

How to mock axios.get() with mockRejectedValue

Score: 1

Views: 2296

Answers: 1

Read More
Brannar3
Brannar3

Reputation: 1

500 Internal Server Error in Jest Test for Express App Using Supertest

Score: 0

Views: 71

Answers: 2

Read More
ROMAN SKRIPNIKOV
ROMAN SKRIPNIKOV

Reputation: 1

TypeError: Cannot read property 'sessions' of undefined

Score: 0

Views: 8667

Answers: 2

Read More
Nishang Raiyani
Nishang Raiyani

Reputation: 346

Why am I getting "POST body missing" error while uploading files in a GraphQL request with Supertest?

Score: 0

Views: 59

Answers: 1

Read More
Mr.Singh
Mr.Singh

Reputation: 1789

ViTest: failing while working with separate test file for each module

Score: 1

Views: 1529

Answers: 2

Read More
Bruno Corrêa
Bruno Corrêa

Reputation: 11

Jest/Typescript Error on trying to access done() argument

Score: 1

Views: 346

Answers: 2

Read More
Dzenan Brcaninovic
Dzenan Brcaninovic

Reputation: 11

NestJS e2e test returning 400 Bad Request, while Postman returns 201 Created for the same endpoint

Score: 1

Views: 43

Answers: 0

Read More
Kpizzle
Kpizzle

Reputation: 430

How to refactor my index.js page so that my db connection isn't called when running tests

Score: 0

Views: 36

Answers: 0

Read More
Sravya Chebolu
Sravya Chebolu

Reputation: 31

How to mock the response of node-fetch in typescript using supertest and vitest

Score: 3

Views: 3034

Answers: 1

Read More
Alphatron
Alphatron

Reputation: 401

Tests files fail unless I run one test file at a time

Score: 0

Views: 46

Answers: 0

Read More
asedsami
asedsami

Reputation: 679

Is there any way to set defaults in supertest?

Score: 8

Views: 1256

Answers: 2

Read More
Nazar Duma
Nazar Duma

Reputation: 584

"Cannot read properties of undefined" in hooks and open TCP handle after test

Score: 0

Views: 96

Answers: 1

Read More
Robert
Robert

Reputation: 322

Supertest and Sinon - stubbing same function twice (or more)

Score: 0

Views: 26

Answers: 0

Read More
SeleniumTester
SeleniumTester

Reputation: 313

Supertest with cucumber framework

Score: 1

Views: 692

Answers: 0

Read More
Marc Hernández
Marc Hernández

Reputation: 318

Open handle detected in Node + Express API prevents Jest from exiting

Score: 4

Views: 1397

Answers: 2

Read More
Mateo Hernandez
Mateo Hernandez

Reputation: 41

Jest + Supertest | Jest detecting open handles

Score: 3

Views: 5024

Answers: 3

Read More
philosopher
philosopher

Reputation: 1151

How to test a Server Sent Events (SSE) route in NodeJS?

Score: 9

Views: 7302

Answers: 2

Read More
PreviousPage 1Next