mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 08:14:48 +02:00
check if id matches in filtered getMultipleEntityProperties
This commit is contained in:
parent
e266e2ebbf
commit
eeda7400c9
1 changed files with 2 additions and 0 deletions
|
@ -110,8 +110,10 @@ describe('Entity', function() {
|
|||
propertySets = Entities.getMultipleEntityProperties(entityIDs, filterTypes);
|
||||
expect(propertySets.length).toBe(entityIDs.length);
|
||||
expect(Object.keys(propertySets[0]).length).toBe(filterTypes.length);
|
||||
expect(propertySets[0].id).toBe(boxEntity);
|
||||
expect(propertySets[0].type).toBe(boxProps.type);
|
||||
expect(Object.keys(propertySets[1]).length).toBe(filterTypes.length);
|
||||
expect(propertySets[1].id).toBe(sphereEntity);
|
||||
expect(propertySets[1].type).toBe(sphereProps.type);
|
||||
|
||||
Entities.deleteEntity(sphereEntity);
|
||||
|
|
Loading…
Reference in a new issue