Ecosyste.ms: Issues

An open API service for providing issue and pull request metadata for open source projects.

GitHub / knee-cola/jest-mock-axios issues and pull requests

#103 - Bump cross-spawn from 7.0.3 to 7.0.6

Pull Request - State: closed - Opened by dependabot[bot] 3 months ago
Labels: dependencies

#102 - `getReqMatching`: Add support for Object params

Issue - State: closed - Opened by jsspiegel 4 months ago - 2 comments

#101 - Axios cancel token

Issue - State: closed - Opened by SammyM 8 months ago

#100 - Bump @babel/traverse from 7.21.5 to 7.23.2

Pull Request - State: closed - Opened by dependabot[bot] over 1 year ago - 2 comments
Labels: dependencies

#99 - Bump Jest dependency

Pull Request - State: closed - Opened by jeremiah-snee-openx over 1 year ago - 1 comment

#98 - Bump semver from 5.7.1 to 5.7.2

Pull Request - State: closed - Opened by dependabot[bot] over 1 year ago - 2 comments
Labels: dependencies

#97 - types are no longer exported

Issue - State: closed - Opened by RichardHpa almost 2 years ago - 1 comment
Labels: bug

#96 - Updated documentation for axios.useRequestHandler().

Pull Request - State: closed - Opened by rubenduiveman almost 2 years ago - 1 comment

#95 - Support requestHandler for new requests.

Pull Request - State: closed - Opened by rubenduiveman almost 2 years ago

#94 - Support request handling for multiple requests?

Issue - State: closed - Opened by rubenduiveman almost 2 years ago - 3 comments

#93 - TypeError: _jestMockAxios.default.reset is not a function

Issue - State: closed - Opened by joshualan about 2 years ago - 1 comment

#92 - MockAxios.defaults is different on github from published npm package

Issue - State: closed - Opened by CezarManea about 2 years ago - 1 comment

#91 - Bump json5 from 2.2.1 to 2.2.3

Pull Request - State: closed - Opened by dependabot[bot] about 2 years ago - 2 comments
Labels: dependencies

#90 - Bump minimatch from 3.0.4 to 3.1.2

Pull Request - State: closed - Opened by dependabot[bot] over 2 years ago
Labels: dependencies

#89 - fix: add missing post on mock headers

Pull Request - State: closed - Opened by CezarManea over 2 years ago - 1 comment
Labels: bug

#88 - Error when using with @slack/web-api

Issue - State: closed - Opened by CezarManea over 2 years ago - 1 comment

#87 - UnhandledPromiseRejection when returing `Promise.reject` on interceptor

Issue - State: open - Opened by ashalfarhan over 2 years ago - 6 comments
Labels: bug

#86 - Typescript error TS:1005, TS:1131, TS:1109, and TS:1128

Issue - State: open - Opened by dika4152 over 2 years ago - 1 comment
Labels: bug

#84 - How to use with common js project?

Issue - State: closed - Opened by ErlanBazarov over 2 years ago - 1 comment

#83 - version 4.6.0 gives SyntaxError: Cannot use import statement outside a module

Issue - State: closed - Opened by meltalite almost 3 years ago - 8 comments
Labels: bug

#82 - add correct interceptors usage

Pull Request - State: closed - Opened by yarilchenko almost 3 years ago - 4 comments
Labels: enhancement

#81 - Bump minimist from 1.2.5 to 1.2.6

Pull Request - State: closed - Opened by dependabot[bot] almost 3 years ago
Labels: dependencies

#80 - Using with vue component tests

Issue - State: open - Opened by nirajfu3e almost 3 years ago - 6 comments

#79 - Doesn't work in native ESM

Issue - State: open - Opened by rijkvanzanten about 3 years ago - 3 comments
Labels: enhancement

#78 - Testing code using an Axios instance

Issue - State: closed - Opened by gusbmurphy about 3 years ago - 2 comments

#76 - Bump ansi-regex from 5.0.0 to 5.0.1

Pull Request - State: closed - Opened by dependabot[bot] over 3 years ago - 1 comment
Labels: dependencies

#75 - Bump tmpl from 1.0.4 to 1.0.5

Pull Request - State: closed - Opened by dependabot[bot] over 3 years ago
Labels: dependencies

#74 - Bump path-parse from 1.0.6 to 1.0.7

Pull Request - State: closed - Opened by dependabot[bot] over 3 years ago
Labels: dependencies

#73 - Bump ws from 7.4.3 to 7.4.6

Pull Request - State: closed - Opened by dependabot[bot] over 3 years ago
Labels: dependencies

#72 - Bump hosted-git-info from 2.8.8 to 2.8.9

Pull Request - State: closed - Opened by dependabot[bot] almost 4 years ago - 3 comments
Labels: dependencies

#71 - Bump lodash from 4.17.20 to 4.17.21

Pull Request - State: closed - Opened by dependabot[bot] almost 4 years ago - 1 comment
Labels: dependencies

#70 - Create MockAxios.getReqByRegex(opts) function

Pull Request - State: closed - Opened by Victorcorcos almost 4 years ago - 6 comments

#69 - Unable to mock requests when testing API end point

Issue - State: closed - Opened by felixmosh almost 4 years ago - 2 comments

#68 - unexpected token error

Issue - State: closed - Opened by gquintard almost 4 years ago - 2 comments

#67 - How to use with ES5 require() syntax

Issue - State: closed - Opened by robross0606 about 4 years ago - 2 comments

#66 - Add `isAxiosError`

Pull Request - State: closed - Opened by mAAdhaTTah about 4 years ago - 6 comments

#65 - mockAxios doesn't implement `isAxiosError`

Issue - State: closed - Opened by mAAdhaTTah about 4 years ago - 1 comment
Labels: enhancement

#64 - Bump node-notifier from 8.0.0 to 8.0.1

Pull Request - State: closed - Opened by dependabot[bot] about 4 years ago - 1 comment
Labels: dependencies

#63 - jest-mock-axios incompatible with CRA 4 / resetMocks: true

Issue - State: open - Opened by alyssaruth about 4 years ago - 10 comments
Labels: bug

#62 - axios.CancelToken.source() returns `undefined`

Issue - State: closed - Opened by Chris-Thompson-bnsf over 4 years ago - 7 comments
Labels: bug

#61 - Question: Does jest.mock('axios') get called automatically?

Issue - State: closed - Opened by cmacdonnacha over 4 years ago - 2 comments
Labels: question

#60 - Question: Why use this instead of the built in mock that comes with Jest?

Issue - State: closed - Opened by cmacdonnacha over 4 years ago - 2 comments
Labels: question

#59 - mockAxios.create() may return a new instance of mockAxios

Issue - State: open - Opened by spanitz over 4 years ago - 8 comments
Labels: enhancement

#58 - issue: two axios calls in tested function but only one (first) response ever can be referenced

Issue - State: closed - Opened by barteklecki over 4 years ago - 2 comments
Labels: bug, duplicate

#57 - Ignore case when comparing HTTP Method

Pull Request - State: closed - Opened by Chris-Thompson-bnsf over 4 years ago - 1 comment

#56 - Bump lodash from 4.17.15 to 4.17.19

Pull Request - State: closed - Opened by dependabot[bot] over 4 years ago
Labels: dependencies

#55 - axios.mockErrorFor

Issue - State: closed - Opened by Emidomenge over 4 years ago - 2 comments
Labels: enhancement, Awaiting Feedback

#54 - fix typo

Pull Request - State: closed - Opened by ntnyq over 4 years ago - 1 comment

#53 - Add eject functions to the interceptors

Pull Request - State: closed - Opened by webbushka over 4 years ago - 1 comment

#52 - Create MockAxios.queue() and MockAxios.getByMatchUrl(regex) functions

Pull Request - State: closed - Opened by niltonvasques over 4 years ago - 4 comments

#51 - Request to add changelog

Issue - State: closed - Opened by doutatsu over 4 years ago - 3 comments

#50 - mockAxios() isn't compatible with the axios("/get/reqest") call signature

Issue - State: closed - Opened by evelynhathaway almost 5 years ago - 4 comments
Labels: bug

#49 - cancelToken

Issue - State: closed - Opened by Harut101 almost 5 years ago - 3 comments
Labels: question

#48 - Bump acorn from 5.7.3 to 5.7.4

Pull Request - State: closed - Opened by dependabot[bot] almost 5 years ago
Labels: dependencies

#46 - No request to respond to! when used along with multiple async await

Issue - State: open - Opened by AnandShiva almost 5 years ago - 10 comments

#45 - Mocking axios.CancelToken

Issue - State: closed - Opened by ezra-m about 5 years ago - 10 comments
Labels: question

#44 - .mockError throwing error because axios call not yet added to mock

Issue - State: closed - Opened by btomasini about 5 years ago - 1 comment
Labels: question

#43 - Add mockResponseFor & getReqMatching

Pull Request - State: closed - Opened by ThiefMaster about 5 years ago - 3 comments
Labels: enhancement

#42 - getReqByUrl needs to fail if there is no matching request

Issue - State: closed - Opened by ThiefMaster about 5 years ago - 5 comments

#41 - Mocking nested axios requests

Issue - State: closed - Opened by kevr about 5 years ago - 1 comment

#40 - Update README.md

Pull Request - State: closed - Opened by mcjlnrtwcz over 5 years ago - 1 comment

#39 - fix typos in Readme

Pull Request - State: closed - Opened by Belzee10 over 5 years ago - 1 comment

#38 - finally() called to early

Issue - State: closed - Opened by blalasaadri over 5 years ago - 2 comments

#37 - How to mock a response from axios.all?

Issue - State: closed - Opened by magicspon over 5 years ago - 1 comment

#36 - WIP: Replace jest-mock-promise with synchronous-promise

Pull Request - State: closed - Opened by kingjan1999 over 5 years ago
Labels: enhancement

#35 - .finally is not a function

Issue - State: closed - Opened by goldo over 5 years ago - 2 comments
Labels: enhancement

#34 - Add jest.Mock to AxiosMockType interface

Pull Request - State: closed - Opened by moustacheful almost 6 years ago - 2 comments

#33 - mockAxios.post not working

Issue - State: closed - Opened by YChebotaev almost 6 years ago - 1 comment

#32 - Implement an empty axios.CancelToken interface

Pull Request - State: closed - Opened by VanTanev almost 6 years ago - 3 comments

#31 - Typescript interface for mockAxios.mockError() needlessly optional

Issue - State: closed - Opened by VanTanev almost 6 years ago - 2 comments
Labels: bug

#30 - Missing cancelToken implementation

Issue - State: closed - Opened by VanTanev almost 6 years ago - 5 comments
Labels: enhancement

#29 - Add support for axios.request method

Pull Request - State: closed - Opened by jonjaques almost 6 years ago - 3 comments

#28 - Question: Using jest-mock-axios with async / await

Issue - State: closed - Opened by bierik almost 6 years ago - 4 comments
Labels: question

#27 - Axios catch error Request failed with status code 404

Issue - State: closed - Opened by priyeshvadhiya almost 6 years ago - 1 comment
Labels: invalid, question

#26 - docs: Clarifying conditions for `mockResponse` and `mockError`

Pull Request - State: closed - Opened by geekychristine almost 6 years ago - 1 comment

#25 - Breaking in change in minor version bump 2.3.0

Issue - State: closed - Opened by tclain almost 6 years ago - 2 comments

#24 - Optimize webpack

Pull Request - State: closed - Opened by zhuangya about 6 years ago

#23 - mock axios using axios interceptors

Issue - State: closed - Opened by DatVuGcc about 6 years ago - 4 comments

#22 - Fix typo in README.md

Pull Request - State: closed - Opened by epegzz about 6 years ago - 1 comment

#21 - Add support for `axios.all`

Pull Request - State: closed - Opened by sirLisko about 6 years ago

#20 - ld debug

Issue - State: closed - Opened by edersign over 6 years ago

#19 - Calling reset does not reset the axios mock function

Issue - State: open - Opened by LukeSilva over 6 years ago - 3 comments

#18 - Does not have axios.request just the helper methods..

Issue - State: closed - Opened by gregorskii over 6 years ago - 4 comments

#17 - Always going to catch function if we write catch block.

Issue - State: closed - Opened by naveenkanumoori over 6 years ago - 5 comments

#16 - Setting defaults within production code causes TypeError during tests

Issue - State: closed - Opened by dannyheard7 over 6 years ago - 1 comment

#15 - Typings declaration file is missing

Issue - State: closed - Opened by maciej-kolodziejczak over 6 years ago - 2 comments

#14 - mockError object fails instanceof test

Issue - State: closed - Opened by j-mew-s over 6 years ago - 2 comments

#13 - TypeError when trying to use mockResponse

Issue - State: closed - Opened by twilco over 6 years ago - 4 comments

#12 - Add support for `axios.patch`

Pull Request - State: closed - Opened by ddio over 6 years ago - 7 comments

#11 - Not all valid instance methods are supported

Issue - State: closed - Opened by kmarple1 over 6 years ago

#10 - Fix TypeScript declarations for bundle

Pull Request - State: closed - Opened by eritikass almost 7 years ago - 11 comments

#9 - New viersion

Issue - State: closed - Opened by posva almost 7 years ago - 1 comment

#8 - Missing support for generic axios method

Issue - State: closed - Opened by jdolle almost 7 years ago - 1 comment

#7 - create mock missing from npm build?

Issue - State: closed - Opened by timthompson almost 7 years ago

#6 - Fix "__mock__" typo

Pull Request - State: closed - Opened by danawoodman almost 7 years ago - 2 comments

#5 - axiosClientInstance.interceptors.request.use not supported?

Issue - State: closed - Opened by timotgl about 7 years ago - 5 comments

#4 - Generator functions?

Issue - State: open - Opened by denchen about 7 years ago - 1 comment