Commit 1bb4ca22 by Torkel Ödegaard

fix(test): fixed failing unsaved changes test

parent 24a410ae
...@@ -28,7 +28,7 @@ export function parse(text, roundUp?) { ...@@ -28,7 +28,7 @@ export function parse(text, roundUp?) {
mathString = text.substring(index + 2); mathString = text.substring(index + 2);
} }
// We're going to just require ISO8601 timestamps, k? // We're going to just require ISO8601 timestamps, k?
time = moment(parseString); time = moment(parseString, moment.ISO_8601);
} }
if (!mathString.length) { if (!mathString.length) {
......
...@@ -29,6 +29,7 @@ define([ ...@@ -29,6 +29,7 @@ define([
beforeEach(function() { beforeEach(function() {
dash = _dashboardSrv.create({ dash = _dashboardSrv.create({
refresh: false,
rows: [ rows: [
{ {
panels: [{ test: "asd", legend: { } }] panels: [{ test: "asd", legend: { } }]
......
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