@@ -12,22 +12,22 @@ let nodeVersion =
1212
1313let ignoreRuntimeTests = [
1414 (
15- // Ignore some tests require Node.js v20+
15+ // Ignore tests that require Node.js v20+
1616 20 ,
17- ["Stdlib.Array. toReversed" , "Stdlib.Array .toSorted" ],
17+ ["Stdlib_Array. toReversed" , "Stdlib_Array .toSorted" ],
1818 ),
1919 (
20- // Ignore some tests require Node.js v22+
20+ // Ignore tests that require Node.js v22+
2121 22 ,
2222 [
23- "Stdlib.Promise .withResolvers" ,
24- "Stdlib.Set .union" ,
25- "Stdlib.Set .isSupersetOf" ,
26- "Stdlib.Set .isSubsetOf" ,
27- "Stdlib.Set .isDisjointFrom" ,
28- "Stdlib.Set .intersection" ,
29- "Stdlib.Set .symmetricDifference" ,
30- "Stdlib.Set .difference" ,
23+ "Stdlib_Promise .withResolvers" ,
24+ "Stdlib_Set .union" ,
25+ "Stdlib_Set .isSupersetOf" ,
26+ "Stdlib_Set .isSubsetOf" ,
27+ "Stdlib_Set .isDisjointFrom" ,
28+ "Stdlib_Set .intersection" ,
29+ "Stdlib_Set .symmetricDifference" ,
30+ "Stdlib_Set .difference" ,
3131 ],
3232 ),
3333]
@@ -65,11 +65,7 @@ let extractExamples = async () => {
6565 let docFiles = files -> Array .filter (f =>
6666 switch f {
6767 // Ignore Js modules and RescriptTools for now
68- // Avoid Stdlib modules showing up as both "Stdlib_X" and "Stdlib.X"
69- | f
70- if f -> String .startsWith ("Js" ) ||
71- f -> String .startsWith ("RescriptTools" ) ||
72- f -> String .startsWith ("Stdlib_" ) => false
68+ | f if f -> String .startsWith ("Js" ) || f -> String .startsWith ("RescriptTools" ) => false
7369 | f if f -> String .endsWith (".resi" ) => true
7470 | f if f -> String .endsWith (".res" ) && ! (files -> Array .includes (f ++ "i" )) => true
7571 | _ => false
0 commit comments