Package Spotlight: Mocha

Package Spotlight: Mocha

Mocha is a lightweight and powerful testing framework for JavaScript code. Using a simple coding syntax allows for quick writing of unit and integration tests. Once time to run the tests are performed serially and makes for quick and easy reporting and debugging of failed tests.

At TRYTN we move fast and in order to release features and fixes as fast as possible we need to be able to automate whatever we can. Therefore we have nearly 3,000 JavaScript unit and integration tests to help ensure bugs aren’t released into production. Mocha is an integral part of our deployment pipeline and helps us release quality builds every time.

Mocha is just one package of several that integrate with each other to build out our entire code quality and testing suite which will be detailed in a later post.

Package Name: Mocha
Website: https://mochajs.org/

Feature Announcements
TRYTN

Customer Cart Widget

We recently released some new functionality specific for those tour operators that use the embedded booking experience. We’ve heard feedback that customers find it confusing

Read More »
someone ideating on a white board with comps
Release Notes
TRYTN

May 2021 Release Notes

Is it already the end of May?! We’ve been heads-down squashing over 60 bugs while focusing on high-touch first experiences like registration, login, and account

Read More »

Request a Demonstration