Skip to content

Commit daadc96

Browse files
committed
Fix unit tests
1 parent d3dd935 commit daadc96

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/collections/serialize/unit.test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -629,24 +629,24 @@ describe('Unit testing of Serialize', () => {
629629
});
630630
});
631631

632-
it('should parse isMultiTargetMultiWeights', () => {
632+
it('should parse isMultiWeightPerTarget', () => {
633633
expect(
634-
Serialize.isMultiTargetMultiWeights({
634+
Serialize.isMultiWeightPerTarget({
635635
targetVector: 'a',
636636
})
637637
).toEqual(false);
638638
expect(
639-
Serialize.isMultiTargetMultiWeights({
639+
Serialize.isMultiWeightPerTarget({
640640
targetVector: ['a'],
641641
})
642642
).toEqual(false);
643643
expect(
644-
Serialize.isMultiTargetMultiWeights({
644+
Serialize.isMultiWeightPerTarget({
645645
targetVector: multiTargetVector().manualWeights({ a: 0.5, b: 0.5 }),
646646
})
647647
).toEqual(false);
648648
expect(
649-
Serialize.isMultiTargetMultiWeights({
649+
Serialize.isMultiWeightPerTarget({
650650
targetVector: multiTargetVector().manualWeights({ a: [0.5, 0.5], b: 0.5 }),
651651
})
652652
).toEqual(true);

0 commit comments

Comments
 (0)