Commit b1e2967
committed
fix(core,sdk): add typesVersions entry for v3/sdk-scope-storage + move taskContext cleanup to afterEach
`attw --pack` (check-exports) was failing on the new
`@trigger.dev/core/v3/sdk-scope-storage` sub-path under node10
resolution because the export had no matching `typesVersions`
mapping. Added one alongside the existing per-sub-path entries.
In `triggerClient.test.ts`, moved `taskContext.disable()` from inside
the individual taskContext-masking tests into the shared `afterEach`
so a failing assertion can't leak a stubbed global task context into
later tests in the file.1 parent abf9f3c commit b1e2967
2 files changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
166 | 169 | | |
167 | 170 | | |
168 | 171 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| |||
152 | 153 | | |
153 | 154 | | |
154 | 155 | | |
155 | | - | |
156 | | - | |
157 | 156 | | |
158 | 157 | | |
159 | 158 | | |
| |||
171 | 170 | | |
172 | 171 | | |
173 | 172 | | |
174 | | - | |
175 | | - | |
176 | 173 | | |
177 | 174 | | |
178 | 175 | | |
| |||
0 commit comments