Effect CommunityEC
Effect Community15mo ago
12 replies
elf Pavlik

Exporting MockConsole and MockTerminal for Easier Testing

I'm learning Effect with a friend, and we started with a simple prompt-based CLI. We managed to get some minimal functionality and even a basic test to pass: https://github.com/elf-pavlik/sai-js/blob/effect/packages/repl/test/cli.test.ts
Could MockConsole and MockTerminal be exported to be used for testing more easily?
Was this page helpful?