mliebelt / pgn-viewer

Simple PGN viewer with the necessary features to display chess games
GNU General Public License v3.0
163 stars 44 forks source link

Try to add Mocha tests to pgn-viewer #340

Open mliebelt opened 2 years ago

mliebelt commented 2 years ago

Parts of the viewer may be tested by unit tests. Try to add unit tests, that are testing that part of the viewer that is more independent from the UI.

mliebelt commented 2 years ago

I was partly successful with adding tests, but when I try to add pgnv functionality, I face problems again. Perhaps I have first to refactor parts of the code, to have the possibility to test that code then. And yes, it has not the highest priority for me at the moment.