diff --git a/.all-contributorsrc b/.all-contributorsrc index 3b0d20e2..c42d7431 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -38,6 +38,15 @@ "code" ] }, + { + "login": "alejandronanez", + "name": "Alejandro Ñáñez Ortiz", + "avatar_url": "https://avatars3.githubusercontent.com/u/464978?v=4", + "profile": "http://co.linkedin.com/in/alejandronanez/", + "contributions": [ + "doc" + ] + }, { "login": "Miklet", "name": "Paweł Mikołajczyk", diff --git a/README.md b/README.md index 47c67cd0..fc5978f9 100644 --- a/README.md +++ b/README.md @@ -354,7 +354,7 @@ Thanks goes to these people ([emoji key][emojis]): -| [
Kent C. Dodds](https://kentcdodds.com)
[💻](https://github.com/kentcdodds/react-testing-library/commits?author=kentcdodds "Code") [📖](https://github.com/kentcdodds/react-testing-library/commits?author=kentcdodds "Documentation") [🚇](#infra-kentcdodds "Infrastructure (Hosting, Build-Tools, etc)") [⚠️](https://github.com/kentcdodds/react-testing-library/commits?author=kentcdodds "Tests") | [
Ryan Castner](http://audiolion.github.io)
[📖](https://github.com/kentcdodds/react-testing-library/commits?author=audiolion "Documentation") | [
Daniel Sandiego](https://www.dnlsandiego.com)
[💻](https://github.com/kentcdodds/react-testing-library/commits?author=dnlsandiego "Code") | [
Paweł Mikołajczyk](https://github.com/Miklet)
[💻](https://github.com/kentcdodds/react-testing-library/commits?author=Miklet "Code") | +| [
Kent C. Dodds](https://kentcdodds.com)
[💻](https://github.com/kentcdodds/react-testing-library/commits?author=kentcdodds "Code") [📖](https://github.com/kentcdodds/react-testing-library/commits?author=kentcdodds "Documentation") [🚇](#infra-kentcdodds "Infrastructure (Hosting, Build-Tools, etc)") [⚠️](https://github.com/kentcdodds/react-testing-library/commits?author=kentcdodds "Tests") | [
Ryan Castner](http://audiolion.github.io)
[📖](https://github.com/kentcdodds/react-testing-library/commits?author=audiolion "Documentation") | [
Daniel Sandiego](https://www.dnlsandiego.com)
[💻](https://github.com/kentcdodds/react-testing-library/commits?author=dnlsandiego "Code") | [
Alejandro Ñáñez Ortiz](http://co.linkedin.com/in/alejandronanez/)
[📖](https://github.com/kentcdodds/react-testing-library/commits?author=alejandronanez "Documentation") | [
Paweł Mikołajczyk](https://github.com/Miklet)
[💻](https://github.com/kentcdodds/react-testing-library/commits?author=Miklet "Code") | | :---: | :---: | :---: | :---: | diff --git a/src/__mocks__/axios.js b/src/__mocks__/axios.js index 57eb52ec..9d70d624 100644 --- a/src/__mocks__/axios.js +++ b/src/__mocks__/axios.js @@ -1,3 +1,8 @@ module.exports = { get: jest.fn(() => Promise.resolve({data: {}})), } + +// Note: +// For now we don't need any other method (POST/PUT/PATCH), what we have already works fine. +// We will add more methods only if we need to. +// For reference please read: https://github.com/kentcdodds/react-testing-library/issues/2