diff --git a/README.md b/README.md
index 62d9af8c..11172ad2 100644
--- a/README.md
+++ b/README.md
@@ -22,7 +22,7 @@ yarn && yarn start
```
Runs the app in the development mode.
-Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
+Open [http://localhost:5173](http://localhost:5173) to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
@@ -35,12 +35,12 @@ yarn test
```
Launches the test runner in the interactive watch mode.
-See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
+See the section about [running tests](https://vitest.dev/guide/workspace.html#running-tests) for more information.
## Integration tests
```sh
-yarn run cypress
+yarn cypress run
```
Launches the integration test runner.
@@ -78,7 +78,7 @@ You might also want access to some of the SaaS services that we've used to build
## Learn More
-You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
+You can learn more in the [Vite documentation](https://vitejs.dev/guide/).
To learn React, check out the [React documentation](https://reactjs.org/).
diff --git a/app.json b/app.json
index b806bd80..b4a74789 100644
--- a/app.json
+++ b/app.json
@@ -11,10 +11,5 @@
},
"addons": [
- ],
- "buildpacks": [
- {
- "url": "https://github.com/mars/create-react-app-buildpack"
- }
]
}
diff --git a/cypress.config.ts b/cypress.config.ts
index a877b30b..47e7728c 100644
--- a/cypress.config.ts
+++ b/cypress.config.ts
@@ -1,15 +1,14 @@
import { defineConfig } from 'cypress'
+import plugin from './cypress/plugins/index.js'
export default defineConfig({
blockHosts: 'www.google-analytics.com',
projectId: 'zxca1q',
e2e: {
- // We've imported your old cypress plugins here.
- // You may want to clean this up later by importing these.
setupNodeEvents(on, config) {
- return require('./cypress/plugins/index.js')(on, config)
+ return plugin(on, config)
},
- baseUrl: 'http://localhost:3000',
+ baseUrl: 'http://localhost:5173',
specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}',
},
-})
+})
\ No newline at end of file
diff --git a/cypress/plugins/index.js b/cypress/plugins/index.js
index fd170fba..976823d9 100644
--- a/cypress/plugins/index.js
+++ b/cypress/plugins/index.js
@@ -11,7 +11,7 @@
// This function is called when a project is opened or re-opened (e.g. due to
// the project's config changing)
-module.exports = (on, config) => {
+export default (on, config) => {
// `on` is used to hook into various events Cypress emits
// `config` is the resolved Cypress config
}
diff --git a/public/index.html b/index.html
similarity index 78%
rename from public/index.html
rename to index.html
index d3fca3a0..e7ad46ae 100644
--- a/public/index.html
+++ b/index.html
@@ -9,17 +9,9 @@
manifest.json provides metadata used when your web app is added to the
homescreen on Android. See https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/
-->
-
-
-