Selaa lähdekoodia

fix: unit test fixed

Torkel Ödegaard 8 vuotta sitten
vanhempi
commit
61b4e5ab2d
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      public/app/core/specs/search_srv.jest.ts

+ 2 - 2
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');
     });
   });