Keep a typed main kind from being ranked as the catalog other kind, and store that catalog kind on the finished Rule.
This commit is contained in:
1 parent
4b90bce006
commit
3e0181e4de
7 files changed
+174
-48
No files matched your search
@@ -33,4 +33,12 @@ describe("publishedRuleAnalyticsFromState", () => {
|
||||
}),
|
||||
).toEqual({ communityLocation: "Denver", orgType: "mutualAid" });
|
||||
});
|
||||
|
||||
it("records a catalog other kind when the main kind was typed", () => {
|
||||
expect(
|
||||
publishedRuleAnalyticsFromState({
|
||||
selectedOrganizationTypeIds: ["custom-tenants-union", "workersCoop"],
|
||||
}),
|
||||
).toEqual({ orgType: "workersCoop" });
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user