Skip to content

Commit

Permalink
test(react): update react e2e test app (#24960)
Browse files Browse the repository at this point in the history
  • Loading branch information
liamdebeasi authored Mar 17, 2022
1 parent 02b7baf commit 43ac6ac
Show file tree
Hide file tree
Showing 7 changed files with 14,871 additions and 27,796 deletions.
10 changes: 0 additions & 10 deletions packages/react/test-app/capacitor.config.ts

This file was deleted.

42,368 changes: 14,861 additions & 27,507 deletions packages/react/test-app/package-lock.json

Large diffs are not rendered by default.

40 changes: 10 additions & 30 deletions packages/react/test-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,43 +3,18 @@
"version": "0.0.1",
"private": true,
"dependencies": {
"@capacitor/app": "1.0.3",
"@capacitor/core": "3.2.4",
"@capacitor/haptics": "1.1.0",
"@capacitor/keyboard": "1.1.0",
"@capacitor/status-bar": "1.0.3",
"@ionic/react": "^5.8.3",
"@ionic/react-router": "^5.8.3",
"@testing-library/jest-dom": "^5.11.9",
"@testing-library/react": "^11.2.5",
"@testing-library/user-event": "^12.6.3",
"@types/jest": "^26.0.20",
"@types/node": "^12.19.15",
"@ionic/react": "^6.0.12",
"@ionic/react-router": "^6.0.12",
"@types/react": "^16.14.3",
"@types/react-dom": "^16.9.10",
"@types/react-router": "^5.1.11",
"@types/react-router-dom": "^5.1.7",
"cypress": "^8.5.0",
"ionicons": "^5.4.0",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0",
"react-scripts": "^4.0.3",
"typescript": "^4.1.3",
"web-vitals": "^0.2.4",
"workbox-background-sync": "^5.1.4",
"workbox-broadcast-update": "^5.1.4",
"workbox-cacheable-response": "^5.1.4",
"workbox-core": "^5.1.4",
"workbox-expiration": "^5.1.4",
"workbox-google-analytics": "^5.1.4",
"workbox-navigation-preload": "^5.1.4",
"workbox-precaching": "^5.1.4",
"workbox-range-requests": "^5.1.4",
"workbox-routing": "^5.1.4",
"workbox-strategies": "^5.1.4",
"workbox-streams": "^5.1.4"
"react-scripts": "^5.0.0",
"typescript": "^4.1.3"
},
"scripts": {
"start": "react-scripts start",
Expand Down Expand Up @@ -69,8 +44,13 @@
]
},
"devDependencies": {
"@capacitor/cli": "3.2.4",
"@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "^12.1.4",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.4.1",
"@types/node": "^17.0.21",
"concurrently": "^6.3.0",
"cypress": "^9.5.2",
"serve": "^13.0.2",
"wait-on": "^6.0.0",
"webpack-cli": "^4.9.1"
Expand Down
12 changes: 0 additions & 12 deletions packages/react/test-app/src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,22 +1,10 @@
import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
import * as serviceWorkerRegistration from './serviceWorkerRegistration';
import reportWebVitals from './reportWebVitals';

ReactDOM.render(
<React.StrictMode>
<App />
</React.StrictMode>,
document.getElementById('root')
);

// If you want your app to work offline and load faster, you can change
// unregister() to register() below. Note this comes with some pitfalls.
// Learn more about service workers: https://cra.link/PWA
serviceWorkerRegistration.unregister();

// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
reportWebVitals();
15 changes: 0 additions & 15 deletions packages/react/test-app/src/reportWebVitals.ts

This file was deleted.

80 changes: 0 additions & 80 deletions packages/react/test-app/src/service-worker.ts

This file was deleted.

142 changes: 0 additions & 142 deletions packages/react/test-app/src/serviceWorkerRegistration.ts

This file was deleted.

0 comments on commit 43ac6ac

Please sign in to comment.