Commit 8b1f130
authored
fix(solidstart): Use production server for e2e tests (#14033)
Adds a small post-build script to copy over deps that are not correctly
resolved in our yarn workspace/pnpm e2e test applications (but do work
correctly in standalone projects). This allows us to finally use the
vinxi production server to run e2e tests and is similar to what the Nuxt
SDK has to do.
Also allows us to get rid of the double page loads for the first test to
avoid hydration errors that were caused by the dev server previously.1 parent 0815309 commit 8b1f130
File tree
3 files changed
+13
-15
lines changed- dev-packages/e2e-tests/test-applications/solidstart
- tests
3 files changed
+13
-15
lines changedLines changed: 5 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 7 | + | |
| 8 | + | |
20 | 9 | | |
21 | 10 | | |
22 | 11 | | |
| |||
41 | 30 | | |
42 | 31 | | |
43 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
44 | 36 | | |
45 | 37 | | |
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
| |||
41 | 40 | | |
42 | 41 | | |
43 | 42 | | |
44 | | - | |
45 | 43 | | |
46 | 44 | | |
47 | 45 | | |
| |||
0 commit comments