mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix: unit test fixed
This commit is contained in:
parent
85879a7014
commit
61b4e5ab2d
@ -50,7 +50,7 @@ describe('SearchSrv', () => {
|
||||
});
|
||||
|
||||
it('should include recent dashboards section', () => {
|
||||
expect(results[0].title).toBe('Recent Boards');
|
||||
expect(results[0].title).toBe('Recent');
|
||||
});
|
||||
|
||||
it('should return order decided by impressions store not api', () => {
|
||||
@ -133,7 +133,7 @@ describe('SearchSrv', () => {
|
||||
});
|
||||
|
||||
it('should show starred', () => {
|
||||
expect(results[0].title).toBe('Starred Boards');
|
||||
expect(results[0].title).toBe('Starred');
|
||||
expect(results[0].items[0].title).toBe('starred and recent');
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user