Skip to content

Commit 7313b3d

Browse files
update
1 parent c17b4dd commit 7313b3d

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

test/browser/testcases.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,9 @@ describe("feature manager", () => {
9696

9797
it("should not target group Stage3",
9898
async () => {
99-
function sleep(ms) {
100-
return new Promise(resolve => setTimeout(resolve, ms));
101-
}
102-
await sleep(5000);
103-
10499
chai.expect(await featureManager.isEnabled("ComplexTargeting", { groups: ["Stage3"] })).to.eq(false);
105100
chai.expect(await featureManager.isEnabled("ComplexTargeting", { userId: "Alice", groups: ["Stage3"] })).to.eq(false);
106101
chai.expect(await featureManager.isEnabled("ComplexTargeting", { userId: "Blossom", groups: ["Stage3"] })).to.eq(false);
107102
}
108-
).timeout(10000);
103+
).timeout(1000);
109104
});

0 commit comments

Comments
 (0)