fix run +test in CI
@@ -24,8 +24,19 @@ on-next /\n(\/~|ford: )/ ->
set-timeout (-> process.exit 1), 1000
<- on-next /dojo> /
+
urbit.write "%got-dojo\r"
<- on-next /%got-dojo/
-console.log "\n\n---\nnode: STUB insert tests here\n---\n\n"
-set-timeout (-> process.exit 0), 1000
+exit-code = 0
+
+urbit.write "+test, =defer |, =seed `@uvI`(shaz %reproducible)\r"
+on-next /(FAILED|CRASHED)/ ->
+ console.log "\n\n---\nnode: detected error\n---\n\n"
+ exit-code := 2
+
+urbit.write "%tested\r"
+<- on-next /%tested/
+
+console.log "\n\n---\nnode: STUB insert further tests here\n---\n\n"
+set-timeout (-> process.exit exit-code), 1000
