We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c401f56 commit 0c2fa9cCopy full SHA for 0c2fa9c
test/HitLimitTest.js
@@ -14,15 +14,16 @@ module.exports = function () {
14
"line": TestUtils.getLineLabelNumber("done")
15
}, null, 1).then(function (res) {
16
assert.equal(res.status, 200);
17
- hitLimit(); //trigger breakpoint
+ //trigger breakpoint (after listener is registered)
18
+ setTimeout(() => hitLimit(), 500);
19
}).catch(function (err) {
20
assert.fail(err)
21
});
22
23
24
it('verify breakpoint removed', async function () {
- this.timeout(4000)
25
+ this.timeout(2000)
26
let event = await TestUtils.awaitMarkerEvent("BREAKPOINT_REMOVED");
27
assert.notEqual(event, null);
28
-};
29
+};
0 commit comments