Sorry, this video is for subscribers only.

Click here to subscribe!

An Isomorphic Assertion Library

We’ve been using Expect.js in our front-end tests and plain asserts in our back-end tests. I prefer asserts for their simplicity and more flexible error messages, so we start migrating our front-end away from Expect.js to use assertions as well. The first step: getting our assert wrapper to work isomorphically; that is, running in both the front-end and back-end.

comments powered by Disqus