Skip to content

Commit

Permalink
Merge 6d52ce9 into c4a4c25
Browse files Browse the repository at this point in the history
  • Loading branch information
mxschmitt committed May 25, 2022
2 parents c4a4c25 + 6d52ce9 commit c9696b1
Show file tree
Hide file tree
Showing 10 changed files with 72 additions and 61 deletions.
14 changes: 7 additions & 7 deletions basic-ts/package.json
Expand Up @@ -8,13 +8,13 @@
"test": "jest"
},
"devDependencies": {
"@types/jest": "^26.0.23",
"@types/node": "^15.6.1",
"jest": "^27.0.3",
"jest-playwright-preset": "^1.6.0",
"playwright": "^1.11.1",
"ts-jest": "^27.0.2",
"typescript": "^4.3.2"
"@types/jest": "^27.5.1",
"@types/node": "^17.0.35",
"jest": "^27.5.1",
"jest-playwright-preset": "^1.7.2",
"playwright": "^1.22.2",
"ts-jest": "^27.1.5",
"typescript": "^4.7.2"
},
"dependencies": {}
}
6 changes: 3 additions & 3 deletions basic/package.json
Expand Up @@ -8,9 +8,9 @@
"test": "jest"
},
"devDependencies": {
"jest": "^27.0.3",
"jest-playwright-preset": "^1.6.0",
"playwright": "^1.11.1"
"jest": "^27.5.1",
"jest-playwright-preset": "^1.7.2",
"playwright": "^1.22.2"
},
"dependencies": {}
}
3 changes: 2 additions & 1 deletion create-react-app-coverage/jest-playwright.config.js
Expand Up @@ -4,7 +4,8 @@ module.exports = {
serverOptions: {
command: `npm start`,
port: 3000,
launchTimeout: 10000,
protocol: 'http',
launchTimeout: 60000,
debug: true,
options: {
env: {
Expand Down
28 changes: 14 additions & 14 deletions create-react-app-coverage/package.json
Expand Up @@ -3,22 +3,22 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@types/jest": "^26.0.23",
"@types/node": "^15.6.1",
"@types/react": "^17.0.8",
"@types/react-dom": "^17.0.5",
"babel-plugin-istanbul": "^6.0.0",
"@types/jest": "^27.5.1",
"@types/node": "^17.0.35",
"@types/react": "^18.0.9",
"@types/react-dom": "^18.0.5",
"babel-plugin-istanbul": "^6.1.1",
"customize-cra": "^1.0.0",
"jest": "^27.0.3",
"jest-playwright-preset": "^1.6.0",
"jest": "^27.5.1",
"jest-playwright-preset": "^1.7.2",
"nyc": "^15.1.0",
"playwright": "^1.11.1",
"react": "^17.0.2",
"react-app-rewired": "^2.1.8",
"react-dom": "^17.0.2",
"react-scripts": "4.0.3",
"ts-jest": "^27.0.2",
"typescript": "^4.3.2"
"playwright": "^1.22.2",
"react": "^18.1.0",
"react-app-rewired": "^2.2.1",
"react-dom": "^18.1.0",
"react-scripts": "5.0.1",
"ts-jest": "^27.1.5",
"typescript": "^4.7.2"
},
"scripts": {
"start": "react-app-rewired start",
Expand Down
10 changes: 6 additions & 4 deletions create-react-app-coverage/src/index.tsx
@@ -1,11 +1,13 @@
import React from 'react';
import ReactDOM from 'react-dom';
import ReactDOM from 'react-dom/client';
import './index.css';
import App from './App';

ReactDOM.render(
const root = ReactDOM.createRoot(
document.getElementById('root') as HTMLElement
);
root.render(
<React.StrictMode>
<App />
</React.StrictMode>,
document.getElementById('root')
</React.StrictMode>
);
3 changes: 2 additions & 1 deletion create-react-app/jest-playwright.config.js
Expand Up @@ -4,7 +4,8 @@ module.exports = {
serverOptions: {
command: `npm start`,
port: 3000,
launchTimeout: 10000,
protocol: 'http',
launchTimeout: 60000,
debug: true,
},
launchOptions: {
Expand Down
28 changes: 14 additions & 14 deletions create-react-app/package.json
Expand Up @@ -3,20 +3,20 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@types/jest": "^26.0.23",
"@types/jest-image-snapshot": "^4.3.0",
"@types/node": "^15.6.1",
"@types/react": "^17.0.8",
"@types/react-dom": "^17.0.5",
"jest": "^27.0.3",
"jest-image-snapshot": "^4.5.0",
"jest-playwright-preset": "^1.6.0",
"playwright": "^1.11.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-scripts": "4.0.3",
"ts-jest": "^27.0.2",
"typescript": "^4.3.2"
"@types/jest": "^27.5.1",
"@types/jest-image-snapshot": "^4.3.1",
"@types/node": "^17.0.35",
"@types/react": "^18.0.9",
"@types/react-dom": "^18.0.5",
"jest": "^27.5.1",
"jest-image-snapshot": "^4.5.1",
"jest-playwright-preset": "^1.7.2",
"playwright": "^1.22.2",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"react-scripts": "5.0.1",
"ts-jest": "^27.1.5",
"typescript": "^4.7.2"
},
"scripts": {
"start": "react-scripts start",
Expand Down
11 changes: 9 additions & 2 deletions create-react-app/src/index.tsx
@@ -1,6 +1,13 @@
import React from 'react';
import ReactDOM from 'react-dom';
import ReactDOM from 'react-dom/client';
import './index.css';
import App from './App';

ReactDOM.render(<App />, document.getElementById('root'));
const root = ReactDOM.createRoot(
document.getElementById('root') as HTMLElement
);
root.render(
<React.StrictMode>
<App />
</React.StrictMode>
);
24 changes: 12 additions & 12 deletions nextjs-coverage/package.json
Expand Up @@ -9,20 +9,20 @@
"test": "jest -c jest.config.js && nyc report --reporter=text"
},
"dependencies": {
"next": "10.2.3",
"react": "17.0.2",
"react-dom": "17.0.2"
"next": "12.1.6",
"react": "18.1.0",
"react-dom": "18.1.0"
},
"devDependencies": {
"@types/jest": "^26.0.23",
"@types/node": "^15.6.1",
"@types/react": "^17.0.8",
"babel-jest": "^27.0.2",
"babel-plugin-istanbul": "^6.0.0",
"jest": "^27.0.3",
"jest-playwright-preset": "^1.6.0",
"@types/jest": "^27.5.1",
"@types/node": "^17.0.35",
"@types/react": "^18.0.9",
"babel-jest": "^27.5.1",
"babel-plugin-istanbul": "^6.1.1",
"jest": "^27.5.1",
"jest-playwright-preset": "^1.7.2",
"nyc": "^15.1.0",
"playwright": "^1.11.1",
"typescript": "^4.3.2"
"playwright": "^1.22.2",
"typescript": "^4.7.2"
}
}
6 changes: 3 additions & 3 deletions playwright-video/package.json
Expand Up @@ -8,8 +8,8 @@
"test": "jest"
},
"devDependencies": {
"jest": "^27.0.3",
"jest-playwright-preset": "^1.6.0",
"playwright": "^1.11.1"
"jest": "^27.5.1",
"jest-playwright-preset": "^1.7.2",
"playwright": "^1.22.2"
}
}

0 comments on commit c9696b1

Please sign in to comment.