Skip to content

Commit e329d92

Browse files
committed
fix tests
1 parent 34f8bb6 commit e329d92

1 file changed

Lines changed: 37 additions & 37 deletions

File tree

packages/react/test/guide/Toolbar/V2/useInspectGuideClientStore.test.ts

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ describe("useInspectGuideClientStore", () => {
538538
resolved: "g1",
539539
timeoutId: null,
540540
results: {
541-
key: { g1: { one: makeSelectionResult() } },
541+
byKey: { g1: { one: makeSelectionResult() } },
542542
},
543543
};
544544
const guide = makeGuide({ key: "g1" });
@@ -609,7 +609,7 @@ describe("useInspectGuideClientStore", () => {
609609
resolved: "g1",
610610
timeoutId: null,
611611
results: {
612-
key: { g1: { one: makeSelectionResult() } },
612+
byKey: { g1: { one: makeSelectionResult() } },
613613
},
614614
};
615615
const guide = makeGuide({ key: "g1", active: true });
@@ -672,7 +672,7 @@ describe("useInspectGuideClientStore", () => {
672672
resolved: "g1",
673673
timeoutId: null,
674674
results: {
675-
key: { g1: { one: makeSelectionResult() } },
675+
byKey: { g1: { one: makeSelectionResult() } },
676676
},
677677
};
678678
const guide = makeGuide({ key: "g1" });
@@ -693,7 +693,7 @@ describe("useInspectGuideClientStore", () => {
693693
resolved: "g1",
694694
timeoutId: null,
695695
results: {
696-
key: { g1: { one: makeSelectionResult() } },
696+
byKey: { g1: { one: makeSelectionResult() } },
697697
},
698698
};
699699
mockCheckStateIfThrottled.mockReturnValue(true);
@@ -717,7 +717,7 @@ describe("useInspectGuideClientStore", () => {
717717
resolved: "g1",
718718
timeoutId: null,
719719
results: {
720-
key: {
720+
byKey: {
721721
g1: {
722722
one: makeSelectionResult([], { includeThrottled: true }),
723723
},
@@ -742,7 +742,7 @@ describe("useInspectGuideClientStore", () => {
742742
resolved: "other_guide",
743743
timeoutId: null,
744744
results: {
745-
key: {
745+
byKey: {
746746
g1: { one: makeSelectionResult() },
747747
other_guide: { one: makeSelectionResult() },
748748
},
@@ -767,7 +767,7 @@ describe("useInspectGuideClientStore", () => {
767767
resolved: "other_guide",
768768
timeoutId: null,
769769
results: {
770-
key: {
770+
byKey: {
771771
g1: { one: makeSelectionResult() },
772772
other_guide: { one: makeSelectionResult() },
773773
},
@@ -795,7 +795,7 @@ describe("useInspectGuideClientStore", () => {
795795
resolved: "other_guide",
796796
timeoutId: null,
797797
results: {
798-
key: { other_guide: { one: makeSelectionResult() } },
798+
byKey: { other_guide: { one: makeSelectionResult() } },
799799
},
800800
};
801801
const guide = makeGuide({ key: "g1" });
@@ -818,7 +818,7 @@ describe("useInspectGuideClientStore", () => {
818818
resolved: "g1",
819819
timeoutId: null,
820820
results: {
821-
type: {
821+
byType: {
822822
banner: {
823823
one: makeSelectionResult([[0, { key: "g1" }]]),
824824
},
@@ -848,7 +848,7 @@ describe("useInspectGuideClientStore", () => {
848848
resolved: "g1",
849849
timeoutId: null,
850850
results: {
851-
type: {
851+
byType: {
852852
banner: {
853853
one: makeSelectionResult([
854854
[0, { key: "higher_priority_guide" }],
@@ -875,7 +875,7 @@ describe("useInspectGuideClientStore", () => {
875875
resolved: "g1",
876876
timeoutId: null,
877877
results: {
878-
type: {
878+
byType: {
879879
banner: {
880880
one: makeSelectionResult([]),
881881
},
@@ -904,7 +904,7 @@ describe("useInspectGuideClientStore", () => {
904904
resolved: "other",
905905
timeoutId: null,
906906
results: {
907-
type: {
907+
byType: {
908908
banner: {
909909
one: makeSelectionResult([[0, { key: "g1" }]]),
910910
},
@@ -930,7 +930,7 @@ describe("useInspectGuideClientStore", () => {
930930
resolved: "g1",
931931
timeoutId: null,
932932
results: {
933-
type: {
933+
byType: {
934934
banner: {
935935
one: makeSelectionResult([[0, { key: "g1" }]]),
936936
},
@@ -956,7 +956,7 @@ describe("useInspectGuideClientStore", () => {
956956
resolved: "g1",
957957
timeoutId: null,
958958
results: {
959-
type: {
959+
byType: {
960960
banner: {
961961
one: makeSelectionResult([[0, { key: "g1" }]], {
962962
includeThrottled: true,
@@ -983,7 +983,7 @@ describe("useInspectGuideClientStore", () => {
983983
resolved: "other_guide",
984984
timeoutId: null,
985985
results: {
986-
type: {
986+
byType: {
987987
banner: {
988988
one: makeSelectionResult([[0, { key: "g1" }]]),
989989
},
@@ -1008,7 +1008,7 @@ describe("useInspectGuideClientStore", () => {
10081008
resolved: "g1",
10091009
timeoutId: null,
10101010
results: {
1011-
type: {
1011+
byType: {
10121012
banner: {
10131013
all: makeSelectionResult([[0, { key: "g1" }]]),
10141014
},
@@ -1033,7 +1033,7 @@ describe("useInspectGuideClientStore", () => {
10331033
resolved: "g1",
10341034
timeoutId: null,
10351035
results: {
1036-
type: {
1036+
byType: {
10371037
banner: {
10381038
all: makeSelectionResult([]),
10391039
},
@@ -1058,7 +1058,7 @@ describe("useInspectGuideClientStore", () => {
10581058
resolved: "other",
10591059
timeoutId: null,
10601060
results: {
1061-
type: {
1061+
byType: {
10621062
banner: {
10631063
all: makeSelectionResult([
10641064
[0, { key: "g1", bypass_global_group_limit: true }],
@@ -1090,7 +1090,7 @@ describe("useInspectGuideClientStore", () => {
10901090
resolved: "g1",
10911091
timeoutId: null,
10921092
results: {
1093-
type: {
1093+
byType: {
10941094
banner: {
10951095
all: makeSelectionResult([[0, { key: "g1" }]]),
10961096
},
@@ -1120,7 +1120,7 @@ describe("useInspectGuideClientStore", () => {
11201120
resolved: "g1",
11211121
timeoutId: null,
11221122
results: {
1123-
type: {
1123+
byType: {
11241124
banner: {
11251125
all: makeSelectionResult([[0, { key: "g1" }]]),
11261126
},
@@ -1150,7 +1150,7 @@ describe("useInspectGuideClientStore", () => {
11501150
resolved: "other",
11511151
timeoutId: null,
11521152
results: {
1153-
type: {
1153+
byType: {
11541154
banner: {
11551155
all: makeSelectionResult([
11561156
[0, { key: "first", bypass_global_group_limit: true }],
@@ -1183,7 +1183,7 @@ describe("useInspectGuideClientStore", () => {
11831183
resolved: "other",
11841184
timeoutId: null,
11851185
results: {
1186-
type: {
1186+
byType: {
11871187
banner: {
11881188
all: makeSelectionResult([
11891189
[0, { key: "first", bypass_global_group_limit: true }],
@@ -1216,7 +1216,7 @@ describe("useInspectGuideClientStore", () => {
12161216
resolved: "first",
12171217
timeoutId: null,
12181218
results: {
1219-
type: {
1219+
byType: {
12201220
banner: {
12211221
all: makeSelectionResult([
12221222
[0, { key: "first", bypass_global_group_limit: false }],
@@ -1244,7 +1244,7 @@ describe("useInspectGuideClientStore", () => {
12441244
resolved: "other",
12451245
timeoutId: null,
12461246
results: {
1247-
type: {
1247+
byType: {
12481248
banner: {
12491249
all: makeSelectionResult([
12501250
[0, { key: "first", bypass_global_group_limit: false }],
@@ -1272,7 +1272,7 @@ describe("useInspectGuideClientStore", () => {
12721272
resolved: "g1",
12731273
timeoutId: null,
12741274
results: {
1275-
type: {
1275+
byType: {
12761276
banner: {
12771277
all: makeSelectionResult(
12781278
[
@@ -1303,7 +1303,7 @@ describe("useInspectGuideClientStore", () => {
13031303
resolved: "other",
13041304
timeoutId: null,
13051305
results: {
1306-
type: {
1306+
byType: {
13071307
banner: {
13081308
all: makeSelectionResult(
13091309
[[0, { key: "other" }]],
@@ -1331,7 +1331,7 @@ describe("useInspectGuideClientStore", () => {
13311331
resolved: "other",
13321332
timeoutId: null,
13331333
results: {
1334-
type: {
1334+
byType: {
13351335
banner: {
13361336
all: makeSelectionResult([
13371337
[0, { key: "first", bypass_global_group_limit: true }],
@@ -1358,7 +1358,7 @@ describe("useInspectGuideClientStore", () => {
13581358
resolved: "first",
13591359
timeoutId: null,
13601360
results: {
1361-
type: {
1361+
byType: {
13621362
banner: {
13631363
all: makeSelectionResult([
13641364
[0, { key: "first", bypass_global_group_limit: false }],
@@ -1385,7 +1385,7 @@ describe("useInspectGuideClientStore", () => {
13851385
resolved: "g1",
13861386
timeoutId: null,
13871387
results: {
1388-
type: {
1388+
byType: {
13891389
banner: {},
13901390
},
13911391
},
@@ -1409,10 +1409,10 @@ describe("useInspectGuideClientStore", () => {
14091409
resolved: "g1",
14101410
timeoutId: null,
14111411
results: {
1412-
key: {
1412+
byKey: {
14131413
g1: { one: makeSelectionResult() },
14141414
},
1415-
type: {
1415+
byType: {
14161416
banner: {
14171417
one: makeSelectionResult([[0, { key: "other" }]]),
14181418
},
@@ -1453,7 +1453,7 @@ describe("useInspectGuideClientStore", () => {
14531453
resolved: "g1",
14541454
timeoutId: null,
14551455
results: {
1456-
key: { g1: { one: makeSelectionResult() } },
1456+
byKey: { g1: { one: makeSelectionResult() } },
14571457
},
14581458
};
14591459
mockCheckActivatable.mockReturnValue(false);
@@ -1477,7 +1477,7 @@ describe("useInspectGuideClientStore", () => {
14771477
resolved: "g1",
14781478
timeoutId: null,
14791479
results: {
1480-
key: {
1480+
byKey: {
14811481
g1: { one: makeSelectionResult() },
14821482
},
14831483
},
@@ -1568,7 +1568,7 @@ describe("useInspectGuideClientStore", () => {
15681568
resolved: "g1",
15691569
timeoutId: null,
15701570
results: {
1571-
key: { g1: { one: makeSelectionResult() } },
1571+
byKey: { g1: { one: makeSelectionResult() } },
15721572
},
15731573
};
15741574
const guide = makeGuide({ key: "g1" });
@@ -1623,7 +1623,7 @@ describe("useInspectGuideClientStore", () => {
16231623
resolved: "g1",
16241624
timeoutId: null,
16251625
results: {
1626-
key: { g1: { one: makeSelectionResult() } },
1626+
byKey: { g1: { one: makeSelectionResult() } },
16271627
},
16281628
};
16291629
const guide = makeGuide({ key: "g1" });
@@ -1654,7 +1654,7 @@ describe("useInspectGuideClientStore", () => {
16541654
resolved: "g1",
16551655
timeoutId: null,
16561656
results: {
1657-
key: { g1: { one: makeSelectionResult() } },
1657+
byKey: { g1: { one: makeSelectionResult() } },
16581658
},
16591659
};
16601660
const guide = makeGuide({ key: "g1" });
@@ -1681,7 +1681,7 @@ describe("useInspectGuideClientStore", () => {
16811681
resolved: "g1",
16821682
timeoutId: null,
16831683
results: {
1684-
key: { g1: { one: makeSelectionResult() } },
1684+
byKey: { g1: { one: makeSelectionResult() } },
16851685
},
16861686
};
16871687
const guide = makeGuide({ key: "g1" });

0 commit comments

Comments
 (0)