mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix(timerange): fixed broken unit tests
This commit is contained in:
@@ -41,12 +41,12 @@ describe("rangeUtil", () => {
|
|||||||
|
|
||||||
it('should handle now/d', () => {
|
it('should handle now/d', () => {
|
||||||
var info = rangeUtil.describeTextRange('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', () => {
|
it('should handle now/w', () => {
|
||||||
var info = rangeUtil.describeTextRange('now/w');
|
var info = rangeUtil.describeTextRange('now/w');
|
||||||
expect(info.display).to.be('Week to date');
|
expect(info.display).to.be('Week so far');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user