Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

axios-mock-shim

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

axios-mock-shim - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

2

package.json
{
"name": "axios-mock-shim",
"version": "1.2.2",
"version": "1.2.3",
"description": "A plugin build for easily using axios-mock-adapter with axios",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -137,3 +137,3 @@ # Axios Mock Shim

getSoloConfig() {
return api.use('get', 'profile', { id: 100 })
return api.use('post', 'profile', { id: 100 })
.with((resolve, reject, config) => {

@@ -140,0 +140,0 @@ console.log(config); // mock-adapter's config

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc