fix(unit test): trying to fix failing unit test due to timezone different on build server

This commit is contained in:
Torkel Ödegaard 2015-09-08 09:50:50 +02:00
parent 171ed497f9
commit 9904d01958

View File

@ -30,8 +30,8 @@ define([
it('should return correct index list', function() {
var pattern = new IndexPattern('[asd-]YYYY.MM.DD', 'Daily');
var from = new Date(2015, 4, 30, 1, 2, 3);
var to = new Date(2015, 5, 1, 12, 5 , 6);
var from = new Date(1432940523000);
var to = new Date(1433153106000);
var expected = [
'asd-2015.05.29',