Documentation of Examples

This issue has been tracked since 2018-03-27.


I found the following example syntax not as intuitive as it could be:

      // Alternatively URL can be a RegExp
      moxios.stubRequest(/say.*/, {/* ... */})

Could I recommend the following?

      // Alternatively URL can be a RegExp, useful when testing URLs with parameters
      moxios.stubRequest( new RegExp("/say/.*"), {/*...*/})
anilanar wrote this answer on 2018-05-27

Kamino cloned this issue to anilanar/moxios

More Details About Repo
Owner Name axios
Repo Name moxios
Full Name axios/moxios
Language JavaScript
Created Date 2016-05-25
Updated Date 2022-12-05
Star Count 1386
Watcher Count 20
Fork Count 85
Issue Count 19


Issue Title Created Date Updated Date