Commit 9904d019 by Torkel Ödegaard

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

parent 171ed497
...@@ -30,8 +30,8 @@ define([ ...@@ -30,8 +30,8 @@ define([
it('should return correct index list', function() { it('should return correct index list', function() {
var pattern = new IndexPattern('[asd-]YYYY.MM.DD', 'Daily'); var pattern = new IndexPattern('[asd-]YYYY.MM.DD', 'Daily');
var from = new Date(2015, 4, 30, 1, 2, 3); var from = new Date(1432940523000);
var to = new Date(2015, 5, 1, 12, 5 , 6); var to = new Date(1433153106000);
var expected = [ var expected = [
'asd-2015.05.29', 'asd-2015.05.29',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment