search: worked on search results

This commit is contained in:
Torkel Ödegaard
2017-12-13 15:51:59 +01:00
parent ccbd18006e
commit 313735bd75
12 changed files with 111 additions and 113 deletions
+2 -3
View File
@@ -214,9 +214,8 @@ describe('SearchSrv', () => {
expect(backendSrvMock.search.mock.calls[0][0].folderIds).toHaveLength(0);
});
it('should place all results in a single section', () => {
expect(results).toHaveLength(1);
expect(results[0].hideHeader).toBe(true);
it('should group results by folder', () => {
expect(results).toHaveLength(2);
});
});