mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-12-28 11:34:41 +03:00
Updates e2e tests (#1040)
This commit is contained in:
parent
4c60f3c5b7
commit
0048bd126c
@ -361,7 +361,7 @@
|
||||
"file",
|
||||
"server/src/server.ts"
|
||||
],
|
||||
"e27f5f548ccf994e7a60c8e28b2eec80bb578d0da5c19cadb83b45745bc6fb84"
|
||||
"ea5208ac63e4705156c15454f29f53f21cf4d98da8b697f44739eb899dc7f2e5"
|
||||
],
|
||||
[
|
||||
[
|
||||
@ -410,7 +410,7 @@
|
||||
"file",
|
||||
"web-app/README.md"
|
||||
],
|
||||
"aa1bd54732b015158d24c55e03bc79b2f211109bc2b0478d6f2ad6b52d15847f"
|
||||
"6af47b8c26fa9d30e9b774e6c38d3456a3b469c3101bffb186e2a1fb325a93f4"
|
||||
],
|
||||
[
|
||||
[
|
||||
|
@ -4,7 +4,7 @@ import app from './app.js'
|
||||
import config from './config.js'
|
||||
|
||||
import mySetupFunction from './ext-src/myServerSetupCode.js'
|
||||
import { ServerSetupFnContext } from './types'
|
||||
import { ServerSetupFn, ServerSetupFnContext } from './types'
|
||||
|
||||
import { startPgBoss } from './jobs/core/pgBoss/pgBoss.js'
|
||||
import './jobs/core/allJobs.js'
|
||||
@ -18,7 +18,7 @@ const startServer = async () => {
|
||||
const server = http.createServer(app)
|
||||
|
||||
const serverSetupFnContext: ServerSetupFnContext = { app, server }
|
||||
await mySetupFunction(serverSetupFnContext)
|
||||
await (mySetupFunction as ServerSetupFn)(serverSetupFnContext)
|
||||
|
||||
server.listen(port)
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
|
||||
This project was bootstrapped with [Vite's React TS template](https://github.com/vitejs/vite/tree/main/packages/create-vite/template-react-ts).
|
||||
|
||||
## Available Scripts
|
||||
|
||||
@ -6,17 +6,12 @@ In the project directory, you can run:
|
||||
|
||||
### `npm start`
|
||||
|
||||
Runs the app in the development mode.<br>
|
||||
Runs the app in development mode.<br>
|
||||
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
|
||||
|
||||
The page will reload if you make edits.<br>
|
||||
You will also see any lint errors in the console.
|
||||
|
||||
### `npm test`
|
||||
|
||||
Launches the test runner in the interactive watch mode.<br>
|
||||
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
|
||||
|
||||
### `npm run build`
|
||||
|
||||
Builds the app for production to the `build` folder.<br>
|
||||
@ -24,45 +19,3 @@ It correctly bundles React in production mode and optimizes the build for the be
|
||||
|
||||
The build is minified and the filenames include the hashes.<br>
|
||||
Your app is ready to be deployed!
|
||||
|
||||
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
|
||||
|
||||
### `npm run eject`
|
||||
|
||||
**Note: this is a one-way operation. Once you `eject`, you can’t go back!**
|
||||
|
||||
If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
|
||||
|
||||
Instead, it will copy all the configuration files and the transitive dependencies (Webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
|
||||
|
||||
You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
|
||||
|
||||
## Learn More
|
||||
|
||||
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
|
||||
|
||||
To learn React, check out the [React documentation](https://reactjs.org/).
|
||||
|
||||
### Code Splitting
|
||||
|
||||
This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting
|
||||
|
||||
### Analyzing the Bundle Size
|
||||
|
||||
This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size
|
||||
|
||||
### Making a Progressive Web App
|
||||
|
||||
This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app
|
||||
|
||||
### Advanced Configuration
|
||||
|
||||
This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration
|
||||
|
||||
### Deployment
|
||||
|
||||
This section has moved here: https://facebook.github.io/create-react-app/docs/deployment
|
||||
|
||||
### `npm run build` fails to minify
|
||||
|
||||
This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify
|
||||
|
Loading…
Reference in New Issue
Block a user