()
| 449 | } |
| 450 | |
| 451 | function threeLazySources() { |
| 452 | const fileA = new File(['a'], 'a.ply'); |
| 453 | useReconstructionStore.getState().setLoadedFiles(baseLoadedFiles({ |
| 454 | splatFile: fileA, |
| 455 | splatFiles: [fileA], |
| 456 | splatFileSources: [ |
| 457 | { id: 'splats/a.ply', path: 'splats/a.ply', url: 'https://x/splats/a.ply', file: fileA }, |
| 458 | { id: 'splats/b.ply', path: 'splats/b.ply', url: 'https://x/splats/b.ply' }, |
| 459 | { id: 'splats/c.ply', path: 'splats/c.ply', url: 'https://x/splats/c.ply' }, |
| 460 | ], |
| 461 | })); |
| 462 | } |
| 463 | |
| 464 | it('latest-wins: an out-of-order lazy fetch does not overwrite a newer selection', async () => { |
| 465 | const deferreds = stubDeferredFetch(); |
no test coverage detected