Skip to content

Commit f612aad

Browse files
update
1 parent 0c7c1a5 commit f612aad

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/feature-management/test/variant.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,5 +108,9 @@ describe("variant assignment with targeting context accessor", () => {
108108
expect(variant).to.be.undefined;
109109
variant = await featureManager.getVariant(Features.VariantFeatureUser, {userId: "Marsha"}); // targeting id will be overridden by the context accessor
110110
expect(variant).to.be.undefined;
111+
groups = ["Group1"];
112+
variant = await featureManager.getVariant(Features.VariantFeatureGroup);
113+
expect(variant).not.to.be.undefined;
114+
expect(variant?.name).eq("Small");
111115
});
112116
});

0 commit comments

Comments
 (0)