Angular mocks changes for 1.2.0

This commit is contained in:
unknown authored and John Emau committed 2013-10-23 14:55:46 -07:00
1 parent b24f27d014
commit 465dfbaa6e
2 files changed
+27 -6

No files matched your search

+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);