Answers for "axios mock parameter"

0

axios mock parameter

mock.onGet("/users", { params: { searchText: "John" } }).reply(200, {
  users: [{ id: 1, name: "John Smith" }],
});
Posted by: Guest on April-30-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language