Skip to content

Commit 2ddc176

Browse files
authored
Increase timeout for test that times out on Windows sometimes (#57)
For example: https://github.com/lydell/js-tokens/actions/runs/14270735240/job/40003142240 ``` FAIL test/index.test.js > jsTokens > succeeds for any single character Error: Test timed out in 5000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ```
1 parent 6291d91 commit 2ddc176

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: test/index.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ describe("jsTokens", () => {
101101
for (let c = 0; c <= 0xffff; c++) {
102102
expect(() => jsTokens(String.fromCharCode(c))).not.toThrow();
103103
}
104-
});
104+
}, 10000);
105105
});
106106

107107
describe("Token", () => {

0 commit comments

Comments
 (0)