Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
danpriori committed Feb 24, 2025
1 parent 72bc7a0 commit 4c96525
Showing 1 changed file with 0 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,25 +32,6 @@ describe('applyAssetMappingsNodeStyles', () => {
expect(result.assetStylingGroup.assetIds).toEqual([]);
});

it('should handle treeNodes with undefined treeIndex or subtreeSize', () => {
const treeNodes: AssetMapping3D[] = [
{
assetId: 1,
subtreeSize: 1,
nodeId: 0
} satisfies AssetMapping3D,
{
assetId: 2,
treeIndex: 1,
nodeId: 0
} satisfies AssetMapping3D
];
const result = applyAssetMappingsNodeStyles(treeNodes, outputSelected);

expect(result).toBeDefined();
expect(result.assetStylingGroup.assetIds).toEqual([]);
});

it('should correctly update the nodeIndexSet', () => {
const treeNodes: AssetMapping3D[] = [
{
Expand Down

0 comments on commit 4c96525

Please sign in to comment.