Skip to content

Commit

Permalink
Update example to use v1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fwouts committed Nov 26, 2019
1 parent 93ca5d8 commit 0a72337
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ module.exports = {
transform: {
"^.+\\.[t|j]sx?$": "babel-jest", // or ts-jest
"^.+\\.css$": "react-screenshot-test/css-transform",
"^.+\\.scss$": "react-screenshot-test/sass-transform", // only if you use SCSS
"^.+\\.scss$": "react-screenshot-test/sass-transform",
"^.+\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$":
"react-screenshot-test/asset-transform"
}
Expand Down
1 change: 1 addition & 0 deletions example/jest.screenshot.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ module.exports = {
transform: {
"^.+\\.[t|j]sx?$": "babel-jest",
"^.+\\.css$": "react-screenshot-test/css-transform",
"^.+\\.scss$": "react-screenshot-test/sass-transform",
"^.+\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$":
"react-screenshot-test/asset-transform"
}
Expand Down
2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"@percy/puppeteer": "^1.0.8",
"jest": "^24.9.0",
"puppeteer": "^2.0.0",
"react-screenshot-test": "^1.1.0"
"react-screenshot-test": "^1.2.0"
},
"dependencies": {
"@emotion/core": "^10.0.22",
Expand Down
8 changes: 4 additions & 4 deletions example/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4951,10 +4951,10 @@ react-is@^16.8.1, react-is@^16.8.4:
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.11.0.tgz#b85dfecd48ad1ce469ff558a882ca8e8313928fa"
integrity sha512-gbBVYR2p8mnriqAwWx9LbuUrShnAuSCNnuPGyc7GJrMVQtPDAh8iLpv7FRuMPFb56KkaVZIYSz1PrjI9q0QPCw==

react-screenshot-test@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/react-screenshot-test/-/react-screenshot-test-1.1.0.tgz#20f94d4b27a865d2c608f8a26477787f0b2ab6c1"
integrity sha512-OLDYxBigOn7qKJusuKQ6aQ+9l4vSk9Kcv6H9UX7enSXnzoNHE3juT/G2nIGEd1a2zBnQnQdUIn3q2UvFC8U4Iw==
react-screenshot-test@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/react-screenshot-test/-/react-screenshot-test-1.2.0.tgz#d6d5f10b7f9140a7db46cf64c16f747f90615d7d"
integrity sha512-f5cib5t8rU25frRxbAWaZPD9UAlNtuXEL6Bslu2fTxPuv2LgdWdodiu1+zK0nrrSvRD8ZTcvVgATsMq4oKpNRQ==
dependencies:
assert-never "^1.2.0"
axios "^0.19.0"
Expand Down

0 comments on commit 0a72337

Please sign in to comment.