Commit cc24dc6
committed
Restore missing-href scenario in asset-proxy test
The TS test conversion (#1095) added href: '' to the 'handles assets without
href' test to satisfy the Assets type, which turned it into a with-empty-href
test that no longer matched its name. Provide an asset genuinely missing href
(via a cast) so it exercises the intended missing-href branch of
getProxiedAssets.1 parent abd8ae6 commit cc24dc6
1 file changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | | - | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
206 | 208 | | |
207 | | - | |
208 | 209 | | |
209 | 210 | | |
210 | | - | |
| 211 | + | |
211 | 212 | | |
212 | 213 | | |
213 | 214 | | |
| |||
217 | 218 | | |
218 | 219 | | |
219 | 220 | | |
220 | | - | |
| 221 | + | |
221 | 222 | | |
222 | 223 | | |
223 | 224 | | |
| |||
0 commit comments