StackOverflow Questions for Tag: chai-http

osmaldym
osmaldym

Reputation: 13

chai-http error Exception during run: Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined

Score: 1

Views: 98

Answers: 1

Read More
user5198077
user5198077

Reputation: 111

TypeError: Cannot read properties of undefined when running combined tests in Express backend with chai and chaiHTTP

Score: 0

Views: 55

Answers: 0

Read More
pravin pawar
pravin pawar

Reputation: 1

Issue with chai-http middleware when using dynamic imports in chai version 5.1.1

Score: 0

Views: 232

Answers: 1

Read More
Elia
Elia

Reputation: 1443

How to correctly close express server between tests using mocha and chai

Score: 7

Views: 15267

Answers: 3

Read More
Mike Mwanje
Mike Mwanje

Reputation: 69

How can I return the response from my api when testing with chai-http and Jest

Score: 2

Views: 1718

Answers: 2

Read More

Chai returning 426 when providing url

Score: 0

Views: 23

Answers: 1

Read More
Alireza
Alireza

Reputation: 231

Chai-HTTP: Test Promise without trying expect() inside then() callback

Score: 0

Views: 90

Answers: 0

Read More
Cesar Jr Rodriguez
Cesar Jr Rodriguez

Reputation: 1821

Testing services with mocha / chai: Error testing login

Score: 0

Views: 348

Answers: 0

Read More
serge1peshcoff
serge1peshcoff

Reputation: 4670

Wait for the server to listen before running tests

Score: 2

Views: 2316

Answers: 1

Read More
AliOz
AliOz

Reputation: 485

Is chai HTTP considered unit testing or integration testing?

Score: 0

Views: 204

Answers: 0

Read More
zangw
zangw

Reputation: 48566

How to send gzip compressed body

Score: 0

Views: 3535

Answers: 2

Read More
Lukas
Lukas

Reputation: 185

NodeJS Chai Mocha response undefined

Score: 0

Views: 532

Answers: 1

Read More
macasas
macasas

Reputation: 582

chai-http installs a deprecated version of formidable

Score: 2

Views: 356

Answers: 0

Read More
Fnr
Fnr

Reputation: 2274

How to test http api that uses csurf csrf protection with mocha/chai?

Score: 1

Views: 640

Answers: 1

Read More
Ryan Knight
Ryan Knight

Reputation: 21

Mocha and Chai unit testing AssertionError

Score: 0

Views: 841

Answers: 1

Read More
tryingToBeBetter
tryingToBeBetter

Reputation: 425

how to import server app for chai request()?

Score: 0

Views: 1129

Answers: 1

Read More
koma
koma

Reputation: 6566

How to send context parameter in unit test to a firebase functions running on the functions emulator

Score: 4

Views: 629

Answers: 1

Read More
Saaransh Menon
Saaransh Menon

Reputation: 416

Getting “Error: Resolution method is overspecified”? in beforeEach and afterEach

Score: 0

Views: 82

Answers: 1

Read More
Madhava Reddy
Madhava Reddy

Reputation: 423

How to mock a function while testing Node.js endpoint using chai-http

Score: 1

Views: 4196

Answers: 1

Read More
J.range
J.range

Reputation: 459

How to test nested object with Chai and Mocha?

Score: 3

Views: 5386

Answers: 2

Read More
PreviousPage 1Next