getify / monio

The most powerful IO monad implementation in JS, possibly in any language!
http://monio.run
MIT License
1.05k stars 58 forks source link

test(just): add unit, identity and composition tests #2

Closed mishelashala closed 4 years ago

mishelashala commented 4 years ago

Hi,

I just started small and with the just functor in case that we need to do some rework. The idea of this PR is to define "what to test" and "how to test it".

Best regards

Closes #1

mishelashala commented 4 years ago

I added jest because it's popular and very similar to mocha/jasmine. But qUnit sounds good to me.

No more package-lock then, lemme add it to the .gitignore file.

And yeah, no fan of test files on src neither, but I wasn't sure about adding the test directory. Lemme add it too.