Skip to content

Commit

Permalink
AxiosMockAdapter is no more
Browse files Browse the repository at this point in the history
  • Loading branch information
exoego committed Jun 6, 2024
1 parent 4492f3c commit 734fee6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ This is useful for testing.
```js
describe("Feature", () => {
it("requests an endpoint", (done) => {
var mock = new AxiosMockAdapter(axios);
var mock = new MockAdapter(axios);
mock.onPost("/endpoint").replyOnce(200);

feature
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = function (env, argv) {
return {
output: {
library: "AxiosMockAdapter",
library: "MockAdapter",
libraryTarget: "umd",
filename:
argv.mode === "production"
Expand Down

0 comments on commit 734fee6

Please sign in to comment.