mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix(unit test): trying to fix failing unit test due to timezone different on build server
This commit is contained in:
parent
171ed497f9
commit
9904d01958
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user