{"push_id":748170522,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"d1326336294a78ce52815c27f10532f6c58e6308","before":"147cc7a8b375d97bf82afb34614268bbb77d18d5","commits":[{"sha":"d1326336294a78ce52815c27f10532f6c58e6308","author":{"email":"aa743a0aaec8f7d7a1f01442503957f4d7a2d634@parsson.se","name":"David Pärsson"},"message":"Add jasmine.clock().mockDate(baseTime) to jasmine.d.ts\n\ndiff --git c/jasmine/jasmine-tests.ts i/jasmine/jasmine-tests.ts\nindex d5eb228..3b2c8b3 100644\n--- c/jasmine/jasmine-tests.ts\n+++ i/jasmine/jasmine-tests.ts\n@@ -721,6 +721,18 @@ describe(\"Manually ticking the Jasmine Clock\", function () {\n         jasmine.clock().tick(50);\n         expect(timerCallback.calls.count()).toEqual(2);\n     });\n+\n+    describe(\"Mocking the Date object\", function(){\n+        it(\"mocks the Date object and sets it to a given time\", function() {\n+            var baseTime = new Date(2013, 9, 23);\n+\n+            jasmine.clock().mockDate(baseTime);\n+\n+            jasmine.clock().tick(50);\n+            expect(new Date().getTime()).toEqual(baseTime.getTime() + 50);\n+        });\n+    });\n+\n });\n\n describe(\"Asynchronous specs\", function () {\ndiff --git c/jasmine/jasmine.d.ts i/jasmine/jasmine.d.ts\nindex 581353b..13f66c6 100644\n--- c/jasmine/jasmine.d.ts\n+++ i/jasmine/jasmine.d.ts\n@@ -105,6 +105,7 @@ declare module jasmine {\n     interface Clock {\n         install(): void;\n         uninstall(): void;\n+        mockDate(date: Date): void;\n         /** Calls to any registered callback are triggered when the clock is ticked forward via the jasmine.clock().tick function, which takes a number of milliseconds. */\n         tick(ms: number): void;\n         mockDate(date?: Date): void;","distinct":true,"url":"https://api.github.com/repos/davidparsson/DefinitelyTyped/commits/d1326336294a78ce52815c27f10532f6c58e6308"}]}