Angular Unit Testing: Mocking Google Places Promise

April 02, 2019

The other day I was trying to use the fakeAysnc helpers in Angular to mock api responses from the Google places api. The methods use async await , but the tests kept failing over promises not getting resolved, then because the test couldn't reach…

Read more

Dependency Injection for ES6 Style AngularJS Directives

February 17, 2017

Note! This is about directives written in Angular 1.4+ in ES6. In case you were thinking this was covering something new for Angular 2… I’ve (and the team I’m on) have been writing our Angular apps with ES6 for awhile now, and one thing that has…

Read more

Beginner Opentype Tip

May 23, 2013

Opentype font features give some pretty wonderful options for a more dynamic typeface. I did run into a couple of small problems setting up contextual substitutes for a script font. The o, v, and w in particular created the need for a special…

Read more