Commit 2db4a54f by Tobias Skarhed

Fix test

parent 55111c80
......@@ -87,7 +87,7 @@ describe('SingleStatCtrl', function() {
});
it('should set formatted value', function() {
expect(moment(ctx.data.valueFormatted).isSame('2017-09-17 09:56:37')).toBe(true);
expect(moment(ctx.data.valueFormatted).valueOf()).toBe(1505634997000);
});
});
......
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