From f1ce26f844e14bc19a4e180701f496b819b1a7be Mon Sep 17 00:00:00 2001 From: knguyen2 Date: Fri, 16 Feb 2024 18:55:36 +0000 Subject: [PATCH] fix: renamed testing unit --- .../src/tests/PrequerySearchSuggestionItem.test.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/catalog-search/src/tests/PrequerySearchSuggestionItem.test.jsx b/packages/catalog-search/src/tests/PrequerySearchSuggestionItem.test.jsx index 23b25232..98beb882 100644 --- a/packages/catalog-search/src/tests/PrequerySearchSuggestionItem.test.jsx +++ b/packages/catalog-search/src/tests/PrequerySearchSuggestionItem.test.jsx @@ -6,7 +6,7 @@ import '@testing-library/jest-dom/extend-expect'; import PrequerySearchSuggestionItem from '../PrequerySearchSuggestionItem'; describe('', () => { - test('renders course data', () => { + test('sends optimizely event on prequery click', () => { const mockData = { url: '/test-enterprise/course/edX+courseX', optimizelyPrequerySuggestionClickHandler: jest.fn(),