You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22-1Lines changed: 22 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,7 +98,28 @@ To run `OpenNext` locally:
98
98
99
99
There is also a way to run OpenNext locally. You can read a guide about it [here](https://opennext.js.org/aws/contribute/local_run). Its mostly used for development/debugging purposes.
100
100
101
-
### Coldstart
101
+
## Testing
102
+
103
+
You can run unit tests with
104
+
105
+
```bash
106
+
pnpm test
107
+
```
108
+
109
+
You can tun e2e locally with:
110
+
111
+
```bash
112
+
pnpm -r openbuild:local
113
+
pnpm -r openbuild:local:start
114
+
```
115
+
116
+
And in a different shell:
117
+
118
+
```bash
119
+
pnpm e2e:test
120
+
```
121
+
122
+
## Coldstart
102
123
103
124
OpenNext provide you with a warmer function that can be used to reduce cold start.
0 commit comments