Testing with Mocha – 2. Using the assert library

In the previous lesson we’ve created our first test, but used only one assertion to check if the result equals to a predefined value. Let’s take a look at the capabilities of the Chai’s assert library, and explore them through some more advanced examples. Using strictEqual and notStrictEqual In the first example we’ve already used …

Using Github actions and Deployer for creating CI/CD for Laravel

In one of my previous articles I’ve written about how to create an automated pipeline for continuous integration and continuous delivery using travis. Lately GitHub actions are quite popular, I am also experimenting with them. I started by reading the articles written by the guys from Spatie, you can find them here and here. While …