Merge pull request #6677 from backstage/feat/analytics-api
Introduce the Analytics API, core events, and a GA implementation provider
This commit is contained in:
@@ -76,7 +76,7 @@ describe('SearchPage', () => {
|
||||
const expectedPageCursor = 'SOMEPAGE';
|
||||
|
||||
// e.g. ?query=petstore&pageCursor=SOMEPAGE&filters[lifecycle][]=experimental&filters[kind]=Component
|
||||
(useLocation as jest.Mock).mockReturnValueOnce({
|
||||
(useLocation as jest.Mock).mockReturnValue({
|
||||
search: `?query=${expectedTerm}&types[]=${expectedTypes[0]}&filters[${expectedFilterField}]=${expectedFilterValue}&pageCursor=${expectedPageCursor}`,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user