We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fda6bee commit 585ebd6Copy full SHA for 585ebd6
__tests__/presentation-2-parser/upgrade.test.ts
@@ -2666,8 +2666,9 @@ describe('Presentation 2 to 3', () => {
2666
expect(annotation?.motivation).toEqual('painting');
2667
2668
// Verify the body (3D model) was correctly converted
2669
- expect(annotation?.body).toBeDefined();
2670
- expect(annotation?.body?.id).toEqual('https://collections.st-andrews.ac.uk/media/406403/406403.glb');
2671
- expect(annotation?.body?.format).toEqual('model/gltf-binary');
+ const body = annotation?.body as any;
+ expect(body).toBeDefined();
+ expect(body?.id).toEqual('https://collections.st-andrews.ac.uk/media/406403/406403.glb');
2672
+ expect(body?.format).toEqual('model/gltf-binary');
2673
});
2674
0 commit comments