Skip to content

Commit

Permalink
INIT axios-mock-adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
shuikang committed Apr 9, 2018
1 parent 23fcfe9 commit da115ae
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@
},
"dependencies": {
"axios": "^0.17.1",
"axios-mock-adapter": "^1.15.0",
"babel-jest": "^22.4.3",
"babel-preset-react-native": "^4.0.0",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"expo": "^23.0.4",
"jest-mock-axios": "^1.0.21",
"moment": "^2.22.0",
"native-base": "^2.4.1",
"react": "16.0.0",
Expand Down
20 changes: 10 additions & 10 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,12 @@ aws4@^1.2.1, aws4@^1.6.0:
version "1.6.0"
resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.6.0.tgz#83ef5ca860b2b32e4a0deedee8c771b9db57471e"

axios-mock-adapter@^1.15.0:
version "1.15.0"
resolved "https://registry.yarnpkg.com/axios-mock-adapter/-/axios-mock-adapter-1.15.0.tgz#fbc06825d8302c95c3334d21023bba996255d45d"
dependencies:
deep-equal "^1.0.1"

axios@^0.16.1:
version "0.16.2"
resolved "https://registry.yarnpkg.com/axios/-/axios-0.16.2.tgz#ba4f92f17167dfbab40983785454b9ac149c3c6d"
Expand Down Expand Up @@ -1734,6 +1740,10 @@ [email protected]:
version "0.3.4"
resolved "https://registry.yarnpkg.com/deep-diff/-/deep-diff-0.3.4.tgz#aac5c39952236abe5f037a2349060ba01b00ae48"

deep-equal@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/deep-equal/-/deep-equal-1.0.1.tgz#f5d260292b660e084eff4cdbc9f08ad3247448b5"

deep-extend@~0.4.0:
version "0.4.2"
resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.4.2.tgz#48b699c27e334bf89f10892be432f6e4c7d34a7f"
Expand Down Expand Up @@ -3324,16 +3334,6 @@ jest-message-util@^21.2.1:
micromatch "^2.3.11"
slash "^1.0.0"

jest-mock-axios@^1.0.21:
version "1.0.21"
resolved "https://registry.yarnpkg.com/jest-mock-axios/-/jest-mock-axios-1.0.21.tgz#9a530f6b2a17f03121ba77c39fea0bb4b421b2a2"
dependencies:
jest-mock-promise "^1.0.20"

jest-mock-promise@^1.0.20:
version "1.0.22"
resolved "https://registry.yarnpkg.com/jest-mock-promise/-/jest-mock-promise-1.0.22.tgz#a1b152d0a1982c0807825322710513b6dcc6686a"

jest-mock@^21.2.0:
version "21.2.0"
resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-21.2.0.tgz#7eb0770e7317968165f61ea2a7281131534b3c0f"
Expand Down

0 comments on commit da115ae

Please sign in to comment.