@@ -149,13 +149,6 @@ let runtimeTests = async code => {
149149 },
150150 )
151151
152- Console .log ({
153- "code" : code ,
154- "exitCode" : exitCode ,
155- "stdout" : stdout ,
156- "stderr" : stderr ,
157- })
158-
159152 // Some expressions, like, `console.error("error")` is printed to stderr but
160153 // exit code is 0
161154 let std = switch exitCode -> Null .toOption {
@@ -315,7 +308,7 @@ let main = async () => {
315308 // Ignore Js modules and RescriptTools for now
316309 -> Array .filter (f => ! String .startsWith (f , "Js" ) && ! String .startsWith (f , "RescriptTools" ))
317310 -> Array .filter (f => f -> String .endsWith (".res" ) || f -> String .endsWith (".resi" ))
318- -> Array .filter (f => f === "Uint8ClampedArray.res" )
311+ // ->Array.filter(f => f === "Uint8ClampedArray.res")
319312 -> Array .reduce ([], (acc , cur ) => {
320313 let isInterface = cur -> String .endsWith (".resi" )
321314
@@ -446,31 +439,32 @@ let main = async () => {
446439 (lhs , rhs )
447440 })
448441
449- let batches = chunkArray (compiled , batchSize )
450-
451- let a =
452- await batches
453- -> Array .map (async t => {
454- (await t
455- -> Array .filter ((({id }, _ , _ )) => ! Array .includes (ignoreRuntimeTests , id ))
456- -> Array .map (async ((example , rescriptCode , jsCode )) => {
457- let nodeTest = await runtimeTests (jsCode )
458- switch nodeTest {
459- | Ok (_ ) => None
460- | Error (error ) => Some (example , RuntimeError ({rescript : rescriptCode , js : jsCode , error }))
461- }
462- })
463- -> Promise .all )
464- -> Array .filterMap (i =>
465- switch i {
466- | Some (i ) => Some (i )
467- | None => None
468- }
469- )
470- })
471- -> Promise .all
442+ let _batches = chunkArray (compiled , batchSize )
443+
444+ // let a =
445+ // await batches
446+ // ->Array.map(async t => {
447+ // (await t
448+ // ->Array.filter((({id}, _, _)) => !Array.includes(ignoreRuntimeTests, id))
449+ // ->Array.map(async ((example, rescriptCode, jsCode)) => {
450+ // let nodeTest = await runtimeTests(jsCode)
451+ // switch nodeTest {
452+ // | Ok(_) => None
453+ // | Error(error) => Some(example, RuntimeError({rescript: rescriptCode, js: jsCode, error}))
454+ // }
455+ // })
456+ // ->Promise.all)
457+ // ->Array.filterMap(i =>
458+ // switch i {
459+ // | Some(i) => Some(i)
460+ // | None => None
461+ // }
462+ // )
463+ // })
464+ // ->Promise.all
472465
473- let runtimeErrors = Array .flat (a )
466+ let runtimeErrors = []
467+ // let runtimeErrors = Array.flat(a)
474468
475469 // let runtimeErrors =
476470 // (await compiled
0 commit comments