From 61b4e5ab2d4a5c61a59d3c0a3a7beabb12f3f273 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Wed, 20 Dec 2017 13:02:52 +0100 Subject: [PATCH] fix: unit test fixed --- public/app/core/specs/search_srv.jest.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/app/core/specs/search_srv.jest.ts b/public/app/core/specs/search_srv.jest.ts index 40017efbda1..a1470578331 100644 --- a/public/app/core/specs/search_srv.jest.ts +++ b/public/app/core/specs/search_srv.jest.ts @@ -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'); }); });