Angular mocks changes for 1.2.0

This commit is contained in:
unknown
2013-10-23 14:55:46 -07:00
committed by John Emau
parent b24f27d014
commit 465dfbaa6e
2 changed files with 27 additions and 6 deletions
+20
View File
@@ -0,0 +1,20 @@
/// <reference path="angular-mocks.d.ts" />
declare var mock: ng.IMockStatic;
mock.dump({ key: 'value' });
mock.inject(
function () { return 1; },
function () { return 2; }
);
mock.module('module1', 'module2');
mock.module(
function () { return 1; },
function () { return 2; }
);
mock.module({ module1: function () { return 1; } });
mock.TzDate(-7, '2013-1-1T15:00:00Z');
mock.TzDate(-8, 12345678);