axios/moxios: Mock axios requests for testing

1386
STARS
20
WATCHERS
85
FORKS
17
ISSUES

moxios's Language Statistics

Star history of moxios
Issue history of moxios

moxios Recent Issues

Issue Title State Comments Created Date Updated Date Closed Date
Bug: moxios.wait doesn't call axios promise if the axios call being tested passes params into it open 0 2022-09-29 2022-11-29 -
Stubs for certain request methods? open 4 2021-04-13 2022-11-29 -
Is there any plan to release the next version? closed 1 2020-08-25 2022-11-29 2021-02-07
how to use moxios to return streams that have images open 1 2020-07-26 2022-11-29 -
moxios.requests.mostRecent() is returning undefined open 8 2020-04-16 2022-11-29 -
Moxios (0.4.0) not working with Axios 0.19.1 closed 1 2020-01-09 2022-11-29 2021-03-16
request.reject undefined (using typescript) closed 2 2019-10-10 2022-11-29 2021-03-16
why catch method is not invoked? closed 4 2019-03-26 2022-11-29 2021-03-16
Wildcard Mock Not Working closed 1 2019-02-21 2022-11-29 2021-03-16
Tracker.get() method tests RegExp against itself rather then testing url with it closed 0 2019-01-25 2022-11-29 2021-03-16
can moxios catch request from click event? closed 1 2018-12-14 2022-11-29 2021-03-16
Is this project alive? open 7 2018-09-20 2022-11-29 -
mocking axios in extended classes closed 1 2018-04-17 2022-11-29 2021-03-16
Documentation of Examples closed 1 2018-03-27 2022-11-29 2021-03-16
Feature: Method getLast for moxios.requests closed 1 2018-01-26 2022-11-29 2021-03-16
Tracking what Requests are called with closed 1 2018-01-22 2022-11-29 2021-03-16
Testing axios interceptors closed 1 2018-01-15 2022-11-29 2021-03-16
test axios in a Vue project closed 1 2018-01-04 2022-11-29 2021-03-16
stubOnce behavior / documentation closed 3 2017-11-21 2022-11-29 2021-03-16
Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. closed 4 2017-11-13 2022-11-29 2021-03-16
Possible to respond differently based on order of calls? closed 5 2017-11-09 2022-11-29 2021-03-16
How does one mock axios.all([]) requests? closed 3 2017-10-05 2022-11-29 2021-03-16
Test passed even though it shouldn't be ? closed 3 2017-08-31 2022-11-29 2021-03-16
Usage with Vue and Jest closed 1 2017-07-29 2022-11-29 2021-03-16
Problems with Jest closed 2 2017-07-17 2022-01-15 2021-03-16
HAR support closed 1 2017-07-07 2022-01-15 2021-03-16
Default moxios import doesn't work in TypeScript closed 6 2017-04-21 2022-11-29 2021-03-16
Create new build with stubtimeout closed 2 2017-02-05 2022-11-29 2021-03-16
Feature request: closed 1 2017-02-05 2022-01-15 2021-03-16
Can't seem to use the baseURL defined in Axios default configuration closed 3 2017-01-29 2022-11-29 2021-03-16
Installing/Uninstalling like the README states doesn't mock requests properly closed 1 2017-01-29 2022-11-29 2021-03-16
DEFAULT_WAIT_DELAY probably too big closed 4 2016-12-27 2022-11-23 2019-03-21
how to use this lib with async await? closed 7 2016-11-24 2022-11-29 2021-03-16
Make wait() compatible with global setTimeout stub closed 1 2016-09-21 2022-11-29 2021-03-16
Make wait only resolve currently queued requests closed 2 2016-09-14 2022-11-29 2021-03-16