Eli White
Eli White

Handling unhandledrejections in Node and the Browser

As a financial product, Wealthfront runs on trust. Our clients expect the product to be there for them and work as they expect. Engineering at Wealthfront makes writing high quality tests a priority. For our clients to trust our product and brand, we must ensure we have that same confidence in our tests. We recently […]

November 03, 2016
Eli White
Eli White

How we use Mocha and jsdom with CoderPad for Frontend interviews

At Wealthfront, our goal for interviews is simply to assess whether the candidate would be successful as an employee. The most important thing for us is to learn how they think and if they will excel at the job we are hiring them for. When interviewing frontend engineering candidates, we want them to write real […]

September 27, 2016
Eli White
Eli White

Consistent Test Setup Across Multiple Packages

At Wealthfront, we believe that all code should look like it was written by the same person. In practice, that means that across our frontend stack we enforce consistent patterns, follow code style guidelines, and use the same technologies. This enables engineers to easily contribute to projects they have never worked on before by reducing […]

August 23, 2016
Eli White
Eli White

Testing JavaScript Modules

In our previous post we outlined benefits of writing JavaScript in modules. One benefit we didn’t mention was how much more testable JavaScript modules are. In your test file you can require the module under test and let the require system import any dependencies. The goal of this post is to outline some of the […]

October 13, 2015
Eli White
Eli White

Performant CSS Animations: Netflix Case Study

While going over performant web animations with our new batch of interns, Netflix’s new redesign was brought up as an example of something that seemed to have DOM nodes that changed size and pushed other DOM nodes around. From my previous blog post on Performant Web Animations, animating properties such as width or top forces […]

June 30, 2015
Eli White
Eli White

An Introduction to CommonJS

The CommonJS specification includes a module loading syntax to cleanly specify JavaScript dependencies. While first widely used in Node it is now used heavily in the browser as well. Historically, when specifying dependencies for the browser, we have had to manually manage a list of our files and keep them in the right order. For […]

June 16, 2015