Commit ae4d2b9
committed
ci: limit test workers and remove db:ensure dependency (#490)
# Limit test workers and remove unnecessary dependency
This PR makes two changes to improve test reliability and build efficiency:
1. Added `--maxWorkers=1` flag to vitest commands in the client package to prevent test flakiness by running tests sequentially
2. Removed the `db:ensure` dependency from the `test:unit` command in the edge-worker package since unit tests don't require a database connection
These changes should help reduce test flakiness and improve build times by removing unnecessary dependencies.1 parent 94cbdd7 commit ae4d2b9
2 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
| 152 | + | |
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
| 177 | + | |
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| |||
0 commit comments