We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c17b4dd commit 7313b3dCopy full SHA for 7313b3d
test/browser/testcases.js
@@ -96,14 +96,9 @@ describe("feature manager", () => {
96
97
it("should not target group Stage3",
98
async () => {
99
- function sleep(ms) {
100
- return new Promise(resolve => setTimeout(resolve, ms));
101
- }
102
- await sleep(5000);
103
-
104
chai.expect(await featureManager.isEnabled("ComplexTargeting", { groups: ["Stage3"] })).to.eq(false);
105
chai.expect(await featureManager.isEnabled("ComplexTargeting", { userId: "Alice", groups: ["Stage3"] })).to.eq(false);
106
chai.expect(await featureManager.isEnabled("ComplexTargeting", { userId: "Blossom", groups: ["Stage3"] })).to.eq(false);
107
}
108
- ).timeout(10000);
+ ).timeout(1000);
109
});
0 commit comments