screenlog.js icon indicating copy to clipboard operation
screenlog.js copied to clipboard

add tests

Open chinchang opened this issue 9 years ago • 3 comments

chinchang avatar Jul 10 '16 19:07 chinchang

I am game. New to writing tests, so if you could give me some pointers, I will be obliged.

vivekannan avatar Jul 10 '16 23:07 vivekannan

You could try setting up tests with mocha and chai (if required).

Read here:

  • http://callmenick.com/post/basic-front-end-testing-with-mocha-chai
  • https://mochajs.org/

Also try looking at some other open source projects on how to setup tests.

chinchang avatar Jul 12 '16 19:07 chinchang

Cypress could be useful too: https://www.cypress.io/

NickHatBoecker avatar Apr 20 '23 11:04 NickHatBoecker