Commit aa4ac9fa by Torkel Ödegaard

fix(timerange): fixed broken unit tests

parent 0339a5ad
......@@ -41,12 +41,12 @@ describe("rangeUtil", () => {
it('should handle now/d', () => {
var info = rangeUtil.describeTextRange('now/d');
expect(info.display).to.be('The day so far');
expect(info.display).to.be('Today so far');
});
it('should handle now/w', () => {
var info = rangeUtil.describeTextRange('now/w');
expect(info.display).to.be('Week to date');
expect(info.display).to.be('Week so far');
});
});
......
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