Skip to content

Commit

Permalink
chore(deps): update enzyme (#996)
Browse files Browse the repository at this point in the history
* chore(deps): update enzyme

* chore(tests): fix snapshots
  • Loading branch information
renovate[bot] authored and Maurice Dalderup committed Aug 27, 2019
1 parent 30d5d21 commit 7ce476c
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 43 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,6 @@

exports[`<AppCard /> renders correctly 1`] = `
ReactWrapper {
Symbol(enzyme.__unrendered__): <AppCard
app={
Object {
"blurb": "mockBlurb",
"img_url": "mockImgUrl",
"title": "mockTitle",
"url": "mockUrl",
}
}
internal={false}
openApp={
[MockFunction] {
"calls": Array [
Array [
"mockUrl",
],
],
"results": Array [
Object {
"isThrow": false,
"value": undefined,
},
],
}
}
/>,
Symbol(enzyme.__renderer__): Object {
"batchedUpdates": [Function],
"getNode": [Function],
Expand Down Expand Up @@ -436,5 +410,33 @@ ReactWrapper {
},
},
},
Symbol(enzyme.__linkedRoots__): Array [],
Symbol(enzyme.__unrendered__): <AppCard
app={
Object {
"blurb": "mockBlurb",
"img_url": "mockImgUrl",
"title": "mockTitle",
"url": "mockUrl",
}
}
internal={false}
openApp={
[MockFunction] {
"calls": Array [
Array [
"mockUrl",
],
],
"results": Array [
Object {
"isThrow": false,
"value": undefined,
},
],
}
}
/>,
Symbol(enzyme.__updatedBy__): null,
}
`;
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@

exports[`<AppStore /> renders correctly 1`] = `
ReactWrapper {
Symbol(enzyme.__unrendered__): <AppStore
apps={Array []}
categories={Array []}
/>,
Symbol(enzyme.__renderer__): Object {
"batchedUpdates": [Function],
"getNode": [Function],
Expand Down Expand Up @@ -194,5 +190,11 @@ ReactWrapper {
},
},
},
Symbol(enzyme.__linkedRoots__): Array [],
Symbol(enzyme.__unrendered__): <AppStore
apps={Array []}
categories={Array []}
/>,
Symbol(enzyme.__updatedBy__): null,
}
`;
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

exports[`<CategoryTitle /> renders correctly 1`] = `
ReactWrapper {
Symbol(enzyme.__unrendered__): <CategoryTitle>
TestTitle
</CategoryTitle>,
Symbol(enzyme.__renderer__): Object {
"batchedUpdates": [Function],
"getNode": [Function],
Expand Down Expand Up @@ -97,5 +94,10 @@ ReactWrapper {
},
},
},
Symbol(enzyme.__linkedRoots__): Array [],
Symbol(enzyme.__unrendered__): <CategoryTitle>
TestTitle
</CategoryTitle>,
Symbol(enzyme.__updatedBy__): null,
}
`;
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@
"electron-builder": "20.32.0",
"electron-devtools-installer": "2.2.4",
"electron-webpack": "1.13.0",
"enzyme": "3.9.0",
"enzyme-adapter-react-16": "1.13.2",
"enzyme": "3.10.0",
"enzyme-adapter-react-16": "1.14.0",
"eslint": "6.2.2",
"eslint-config-airbnb": "18.0.1",
"eslint-config-prettier": "6.1.0",
Expand Down
16 changes: 8 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4493,10 +4493,10 @@ entities@^2.0.0:
resolved "https://registry.yarnpkg.com/entities/-/entities-2.0.0.tgz#68d6084cab1b079767540d80e56a39b423e4abf4"
integrity sha512-D9f7V0JSRwIxlRI2mjMqufDrRDnx8p+eEOz7aUM9SuvF8gsBzra0/6tbjl1m8eQHrZlYj6PxqE00hZ1SAIKPLw==

enzyme-adapter-react-16@1.13.2:
version "1.13.2"
resolved "https://registry.yarnpkg.com/enzyme-adapter-react-16/-/enzyme-adapter-react-16-1.13.2.tgz#8a574d7cbbef7ef0cab2022e9bfc12aeaebb7ae5"
integrity sha512-h0neTuAAFfQUgEZ+PPHVIMDFJ9+CGafI8AjojNlSVh4Fd1pLDgtl2OeVkm4yKF7RSgzrPAwugq4JW8Jjo2iRJA==
enzyme-adapter-react-16@1.14.0:
version "1.14.0"
resolved "https://registry.yarnpkg.com/enzyme-adapter-react-16/-/enzyme-adapter-react-16-1.14.0.tgz#204722b769172bcf096cb250d33e6795c1f1858f"
integrity sha512-7PcOF7pb4hJUvjY7oAuPGpq3BmlCig3kxXGi2kFx0YzJHppqX1K8IIV9skT1IirxXlu8W7bneKi+oQ10QRnhcA==
dependencies:
enzyme-adapter-utils "^1.12.0"
has "^1.0.3"
Expand All @@ -4519,10 +4519,10 @@ enzyme-adapter-utils@^1.12.0:
prop-types "^15.7.2"
semver "^5.6.0"

enzyme@3.9.0:
version "3.9.0"
resolved "https://registry.yarnpkg.com/enzyme/-/enzyme-3.9.0.tgz#2b491f06ca966eb56b6510068c7894a7e0be3909"
integrity sha512-JqxI2BRFHbmiP7/UFqvsjxTirWoM1HfeaJrmVSZ9a1EADKkZgdPcAuISPMpoUiHlac9J4dYt81MC5BBIrbJGMg==
enzyme@3.10.0:
version "3.10.0"
resolved "https://registry.yarnpkg.com/enzyme/-/enzyme-3.10.0.tgz#7218e347c4a7746e133f8e964aada4a3523452f6"
integrity sha512-p2yy9Y7t/PFbPoTvrWde7JIYB2ZyGC+NgTNbVEGvZ5/EyoYSr9aG/2rSbVvyNvMHEhw9/dmGUJHWtfQIEiX9pg==
dependencies:
array.prototype.flat "^1.2.1"
cheerio "^1.0.0-rc.2"
Expand Down

0 comments on commit 7ce476c

Please sign in to comment.