StackOverflow Questions for Tag: chai

user5198077
user5198077

Reputation: 111

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

Score: 0

Views: 53

Answers: 0

Read More
Vishal Kamal
Vishal Kamal

Reputation: 1124

Getting error in my nestjs project with mocha and chai: TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" for

Score: 0

Views: 505

Answers: 1

Read More
rg_
rg_

Reputation: 431

Upgraded to Chai 5.x, converted whole node project to ESM modules, test run fails with unhelpful error messages

Score: 1

Views: 98

Answers: 0

Read More
Sudo Sur
Sudo Sur

Reputation: 611

chai.request is not a function when I use .js files

Score: 0

Views: 47

Answers: 0

Read More
Mo1
Mo1

Reputation: 379

Issue writing unit tests for a jQuery datepicker plugin

Score: 0

Views: 22

Answers: 0

Read More
Marc Rasmussen
Marc Rasmussen

Reputation: 20565

Chai Unexpected token when importing

Score: 0

Views: 1230

Answers: 2

Read More
Nick Hodges
Nick Hodges

Reputation: 17138

What changes is Mocha waiting for...?

Score: 0

Views: 788

Answers: 1

Read More
Scott Fister
Scott Fister

Reputation: 1283

How do I test JS prototypes (non-modules) in Mocha/Chai?

Score: 2

Views: 530

Answers: 2

Read More
Rossi
Rossi

Reputation: 1

Simplest Chai Spies syntax

Score: -1

Views: 74

Answers: 1

Read More
Alissa
Alissa

Reputation: 714

Comparing arrays in chai

Score: 25

Views: 22810

Answers: 6

Read More
Soham Nakhare
Soham Nakhare

Reputation: 423

Mocha: TypeError: Converting circular structure to JSON

Score: 1

Views: 1036

Answers: 2

Read More
Carlos
Carlos

Reputation: 309

Property does not exist on type 'JestMatchers '

Score: 14

Views: 21232

Answers: 2

Read More
Don Diego
Don Diego

Reputation: 1508

Playwright with chai, can't check element visibility

Score: 0

Views: 206

Answers: 1

Read More
Conor Heena
Conor Heena

Reputation: 116

how to mock an exported function with sinon.js?

Score: 1

Views: 1853

Answers: 2

Read More
user2860204
user2860204

Reputation: 171

Is it possible to use k6chaijs with async function? For example in k6 browser tests?

Score: 0

Views: 108

Answers: 1

Read More
Your Devmate
Your Devmate

Reputation: 3

Confused if I should use a fake or a stub?

Score: -1

Views: 77

Answers: 1

Read More
Zoë Jobson
Zoë Jobson

Reputation: 73

Getting TypeError: Cannot stub non-existent own property when stubbing async method

Score: 6

Views: 45880

Answers: 2

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: 230

Answers: 1

Read More
Reuben Thomas
Reuben Thomas

Reputation: 744

How can I get the stack trace of unexpected errors with Chai?

Score: 0

Views: 44

Answers: 0

Read More
Chris Bier
Chris Bier

Reputation: 14455

Is there a way to assert that a route has not been called in Cypress?

Score: 47

Views: 29581

Answers: 17

Read More
PreviousPage 2Next