All Posts

Testing Mithril.js Components with Jasmine and jQuery

At VHX, we decided to move our front-end codebase from an in-house jQuery solution to a component-based architecture with Mithril.js (edit: As of late, we’ve been moving away from Mithril over to React). Mithril has proven to make development and testing simple, especially within a Rails app. This post details some ideas behind testing Mithril components using Jasmine within our Ruby on Rails app.