Skip to content

Instantly share code, notes, and snippets.

View sylvain-hamel's full-sized avatar

Sylvain Hamel sylvain-hamel

  • www.octopus-itsm.com
  • Montreal, Canada
View GitHub Profile
@sylvain-hamel
sylvain-hamel / gist:9945167
Last active August 29, 2015 13:58
merged changelog

Today

Karma 1.22.2

Features

  • feat 1
  • feat 2

Fixes

  • feat 1
@sylvain-hamel
sylvain-hamel / gist:9122684
Last active August 29, 2015 13:56
mockDirectiveController
// Usage :
//
// 1 - Load the real module
// ============================
// beforeEach(module('app', 'partials/my-directive.html'));
//
// 2 - Create the mock constructor function and call module(mockDirectiveController(...))
// ============================
// beforeEach(function () {
// function CtrlMock() {