Skip to content

Commit 02f6b69

Browse files
committed
update Babel 7, Storybook 4
1 parent 84644ad commit 02f6b69

14 files changed

+11754
-12272
lines changed

.babelrc

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
{
22
"presets": [
3-
"env",
4-
"react",
5-
"stage-2"
6-
]
3+
"@babel/preset-env",
4+
"@babel/preset-react"
5+
],
6+
"env": {
7+
"test": {
8+
"plugins": ["require-context-hook"]
9+
}
10+
}
711
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"value":{"success":true,"data":{"latest":{"version":"4.0.0","info":{"plain":"- upgrade webpack & babel to latest\n- new addParameters and third argument to .add to pass data to addons\n- added the ability to theme storybook\n- improved ui for mobile devices\n- improved performance of addon-knobs"}}},"time":1541076861531},"type":"Object"}

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ install:
77
- npm install
88

99
script:
10-
- npm run test:unit -- --coverage && npm run test:snapshot -- --coverage && npm run test:cypress
10+
- npm run test:unit -- --coverage && npm run test:cypress
1111

1212
after_script:
1313
- COVERALLS_REPO_TOKEN=$coveralls_repo_token npm run coveralls

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# visual-regression-testing-react-storybook
22

3-
[![Slack](https://slack-the-road-to-learn-react.wieruch.com/badge.svg)](https://slack-the-road-to-learn-react.wieruch.com/)
3+
[![Build Status](https://travis-ci.org/rwieruch/visual-regression-testing-react-storybook.svg?branch=master)](https://travis-ci.org/rwieruch/visual-regression-testing-react-storybook) [![Slack](https://slack-the-road-to-learn-react.wieruch.com/badge.svg)](https://slack-the-road-to-learn-react.wieruch.com/)
44

55
A React application which implements visual regression tests by using Jest and React Storybook. Read more about it: [Visual Regression Testing and React Storybook](https://www.robinwieruch.de/visual-regression-testing-react-storybook/)
66

cypress.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"videoRecording": false,
2+
"video": false,
33
"baseUrl": "http://localhost:8080"
44
}

0 commit comments

Comments
 (0)