hyperfiddle / hyperfiddle/rcf

ClojureScript reporter should print to remote repl, not console.log

Open
#81 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Clojure
Stars
301
Forks
14
PR merge metrics
No merged PRs in 30d

Description

We want https://github.com/dustingetz/missionary-quickstart to print to the REPL window not browser, but the default reporter uses console.log. Was there a reason for this? AFAICT this is because (print "✅") does not flush in ClojureScript ever unless followed by a newline. flush in CLJS is noop.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with src/hyperfiddle/rcf/reporters.cljs at the referenced commit and inspect the default reporter's console.log call. Reproduce the reporter in the missionary-quickstart remote REPL, then verify that output appears in the REPL window rather than the browser console.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure
Domain
testing
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.