Commit c231096
test: address review comments on waitForJob and waitForCondition usage
- waitForJob: fix falsy-status early-exit — `status !== 'IN_PROGRESS'`
exits immediately when job is not found / response is malformed,
rather than polling until timeout
- northwind: replace redundant post-waitForCondition assertions with a
.catch() re-throw that appends lastResponse.text to the timeout error,
making failure messages reachable and useful (#2 and #3)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent d806c4d commit c231096
2 files changed
Lines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8759 | 8759 | | |
8760 | 8760 | | |
8761 | 8761 | | |
8762 | | - | |
8763 | | - | |
| 8762 | + | |
| 8763 | + | |
| 8764 | + | |
8764 | 8765 | | |
8765 | 8766 | | |
8766 | 8767 | | |
| |||
12233 | 12234 | | |
12234 | 12235 | | |
12235 | 12236 | | |
12236 | | - | |
12237 | | - | |
| 12237 | + | |
| 12238 | + | |
| 12239 | + | |
12238 | 12240 | | |
12239 | 12241 | | |
12240 | 12242 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
0 commit comments