Skip to content

Commit

Permalink
test(integration/cra): upgrade to next scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeysova committed Nov 14, 2021
1 parent 4a7c516 commit ed953cc
Show file tree
Hide file tree
Showing 3 changed files with 3,789 additions and 5,297 deletions.
13 changes: 10 additions & 3 deletions integration/cra/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"effector-react": "^22.0.4",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-scripts": "^4.0.3",
"react-scripts": "^5.0.0-next.47",
"web-vitals": "^1.0.1"
},
"scripts": {
Expand All @@ -20,10 +20,17 @@
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": ["react-app", "react-app/jest"]
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [">0.2%", "not dead", "not op_mini all"],
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
Expand Down
2 changes: 1 addition & 1 deletion integration/cra/src/demo.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ import { $pending } from './demo';
test('should have sid', () => {
expect($pending.sid).toBeDefined();
expect($pending.sid).not.toBeNull();
expect($pending.sid).toMatchInlineSnapshot(`"-1ka365ɔpending"`);
expect($pending.sid).toMatchInlineSnapshot(`"-y29r2v|a37bj0"`);
});
Loading

0 comments on commit ed953cc

Please sign in to comment.