Explorar el Código

fix: unit test fixed

Torkel Ödegaard hace 8 años
padre
commit
61b4e5ab2d
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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');
     });
   });