Skip to content

Commit 14142b2

Browse files
committed
Skip RegExp.escape docstring tests on node versions below v24
1 parent 3ff8e59 commit 14142b2

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

tests/docstring_tests/DocTest.res

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ let ignoreRuntimeTests = [
3030
"Stdlib_Set.difference",
3131
],
3232
),
33+
(
34+
// Ignore tests that require Node.js v24+
35+
24,
36+
["Stdlib_RegExp.escape"],
37+
),
3338
]
3439

3540
let getOutput = buffer =>

tests/docstring_tests/DocTest.res.js

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)