mock-express-request-response icon indicating copy to clipboard operation
mock-express-request-response copied to clipboard

Mock/stub the Express request/response objects using Jest or sinon

Results 10 mock-express-request-response issues
Sort by recently updated
recently updated
newest added

Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 27.5.1 to 29.0.1. Release notes Sourced from jest's releases. v29.0.1 Fixes [jest-snapshot] Pass snapshotFormat through when diffing snapshots (#13181) Full Changelog: https://github.com/facebook/jest/compare/v29.0.0...v29.0.1 v29.0.0 Blog post: https://jestjs.io/blog/2022/08/25/jest-29 Features...

dependencies

Bumps [ava](https://github.com/avajs/ava) from 3.15.0 to 4.3.3. Release notes Sourced from ava's releases. v4.3.3 Add compatibility with Node.js 18.8, thanks @​Brooooooklyn #3091. Full Changelog: https://github.com/avajs/ava/compare/v4.3.1...v4.3.3 v4.3.1 What's Changed When translating line...

dependencies

Bumps [sinon](https://github.com/sinonjs/sinon) from 13.0.2 to 14.0.0. Changelog Sourced from sinon's changelog. 14.0.0 c2bbd826 Drop node 12 (Morgan Roderick) And embrace Node 18 See https://nodejs.org/en/about/releases/ Released by Morgan Roderick on 2022-05-07....

dependencies

Bumps [express](https://github.com/expressjs/express) from 4.17.2 to 4.18.1. Release notes Sourced from express's releases. 4.18.1 Fix hanging on large stack of sync routes 4.18.0 Add "root" option to res.download Allow options without...

dependencies

Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 27.5.1 to 29.2.1. Release notes Sourced from jest's releases. v29.2.1 Features [@jest/globals, jest-mock] Add jest.Spied* utility types (#13440) Fixes [jest-environment-node] make globalThis.performance writable for Node 19 and...

dependencies

Hi Hugo! I thought your [Express testing guide](https://codewithhugo.com/express-request-response-mocking/) was great, but noticed a typo - right at the beginning on, you have: ``` const mockResponse = { const res =...

Bumps [express](https://github.com/expressjs/express) from 4.18.1 to 4.18.2. Release notes Sourced from express's releases. 4.18.2 Fix regression routing a large stack in a single route deps: [email protected] deps: [email protected] perf: remove unnecessary...

dependencies

Bumps [sinon](https://github.com/sinonjs/sinon) from 13.0.2 to 14.0.1. Changelog Sourced from sinon's changelog. 14.0.1 6c4753ef Fixed CSS selectors in _base.scss and changed blockquote default size to 16px. (Jose Lupianez) A bunch of...

dependencies

Removes [got](https://github.com/sindresorhus/got). It's no longer used after updating ancestor dependency [ava](https://github.com/avajs/ava). These dependencies need to be updated together. Removes `got` Updates `ava` from 3.15.0 to 4.3.3 Release notes Sourced from...

dependencies

Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 4.1.0 to 4.1.1. Commits 64735d2 v4.1.1 75a657d Fix potential ReDoS (#37) See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ansi-regex&package-manager=npm_and_yarn&previous-version=4.1.0&new-version=4.1.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this...

dependencies