The goal of this excercise is add all necessary tests and testing configuration.
- Install all necessary libs for testing.
- Add
jestconfiguration. - Add
debugconfiguration. - Add mapper tests (
common/mappers/collection.mapper.ts,pods/hotel-collection/hotel-collection.mapper.ts). - Add
common/componentstests. - Add
pods/hotel-collection/hotel-collection.hook.tstests. - Add components and containers tests inside pods.
- Add
coverageconfiguration. - Add
travis-ciorcircle-ciconfiguration. - Move some pod to redux and test:
reducersactionssagasselectorscontainers
- When configure
jest.jsonfile, addaliasconfiguration using:
{
"rootDir": "../../",
...
"moduleDirectories": ["<rootDir>/src", "node_modules"],
}We are an innovating team of Javascript experts, passionate about turning your ideas into robust products.
Basefactor, consultancy by Lemoncode provides consultancy and coaching services.
Lemoncode provides training services.
For the LATAM/Spanish audience we are running an Online Front End Master degree, more info: http://lemoncode.net/master-frontend