From d190e032d3ef5e924281922029faadfc2baf0f1d Mon Sep 17 00:00:00 2001 From: Hector Virgen Date: Sun, 12 Oct 2014 00:01:07 -0700 Subject: [PATCH] Fix tests (timezone problem) --- tests/taggedClientStorageSpec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/taggedClientStorageSpec.js b/tests/taggedClientStorageSpec.js index a166fc1..43af184 100644 --- a/tests/taggedClientStorageSpec.js +++ b/tests/taggedClientStorageSpec.js @@ -206,8 +206,8 @@ define(function(require) { beforeEach(inject(function(taggedClientStorage) { this.clientStorage = taggedClientStorage; - this.now = new Date(2014, 9, 16); // October 16th, 2014 - this.clock = sinon.useFakeTimers(this.now.getTime()); + this.now = 1413442800000; // October 16th, 2014 + this.clock = sinon.useFakeTimers(this.now); })); afterEach(function() {