Speaker: Andrei Cacio
We are happy to announce that our next meetup will be about unit testing, more exactly about an unit testing framework called Jest.
In this meetup we will talk about the main diferences between other testing solutions like MochaJS with ChaiJS. Also Andrei will highlight the benefits which Jest brought to his coding experience.
Some big topics which we will cover:
- stubing, spying
- module mocking
- snapshot testing
- jest cli
- when used more than 2 level nested
describe()
, performance may suffer because of Jest not beeing able to properly parallelise the tests - for mocking 3rd party libraries like
lodash
which has nested modules, you can usemoduleNameMapper
to mock them out one by one
Some useful links that people pointed out during the open discussion: