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:
parent
0339a5ad01
commit
aa4ac9fa05
@ -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');
|
||||
});
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user