chai-http
chai-http copied to clipboard
HTTP Response assertions for the Chai Assertion Library.
Suppose I assign a type to an unresolved chai http request in Typescript. Chai doesn't export a type, so the type has to be imported from superagent, which breaks encapsulation....
Due to a syntax error in .releaserc.json I was under the impression that the npm packages for releasing could not be upgraded. This seems to be a faulty conclusion -...
In much of this library, we use functions as constructors and add methods to the prototype, using `util.inherits` for inheritance We should probably rework this to use classes now that...
Hit the following errors: ``` Exception during run: tests/IntegrationTests/add_students_to_teacher_tests.ts(63,14): error TS2339: Property 'post' does not exist on type 'Agent'. tests/IntegrationTests/add_students_to_teacher_tests.ts(65,19): error TS7006: Parameter 'err' implicitly has an 'any' type. tests/IntegrationTests/add_students_to_teacher_tests.ts(65,24):...
I am import chai as chaiModule, but getting error like import chaiModule from "chai"; ^^^^^^^^^^ SyntaxError: The requested module 'chai' does not provide an export named 'default' Code for Reference...
Migrates from qs to picoquery, a much faster library. We can't use URLSearchParams since we support nested syntax (and therefore assert on the top level property)