Commit d28d353
committed
refactor(server): Un-vitestify dump script
Now that Redis, Elasticsearch, the JWT crypto key, and the reindex
client are all lazy-initialized, the Pothos schema can be imported
without triggering external service connections. Remove all vi.mock()
calls from the dump script.
Adds a `dump-schema` yarn script to the server package.1 parent c3935ff commit d28d353
3 files changed
Lines changed: 15 additions & 41 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
0 commit comments