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/

a man using a laptop computer sitting on top of a table
Feature Announcements
TRYTN

Custom Invoice Emails

We recently enhanced our invoicing capabilities in a big way. Each tour operator has specific business needs and so a one-size-fits-all invoice email just didn’t

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

July 2021 Release Notes

We’ve spent all of July trying to squash as many bugs as possible while also adding simple enhancements to make the system easier to use.

Read More »

Request a Demonstration