Alan - I went full bore about a year ago into learning JavaScript for the purposes of creating this game:?
I hired someone to help me write the scaffolding and the UI basics. I coded the rule sets.?
This book was very helpful in seeing how to write JavaScript:?
?The book is interesting to you as it is full of tests that help you explore JS.
From what I noticed working with my developer React is very testable if you don't mind stuff running through the browser. As to testing without a logged in user, some form of fake has often helped me in the past.
Cheers
Mark