axios-mock-shim
Advanced tools
Comparing version 1.2.2 to 1.2.3
{ | ||
"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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
49501