Skip to content

Commit 22e1c29

Browse files
feat: update the doc
1 parent 111c076 commit 22e1c29

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

packages/template-retail-react-app/app/components/search/partials/ask-assistant-banner.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2021, salesforce.com, inc.
2+
* Copyright (c) 2025, salesforce.com, inc.
33
* All rights reserved.
44
* SPDX-License-Identifier: BSD-3-Clause
55
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/BSD-3-Clause

packages/template-retail-react-app/app/components/search/partials/ask-assistant-banner.test.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2021, salesforce.com, inc.
2+
* Copyright (c) 2025, salesforce.com, inc.
33
* All rights reserved.
44
* SPDX-License-Identifier: BSD-3-Clause
55
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/BSD-3-Clause

packages/template-retail-react-app/app/components/search/partials/search-suggestions.test.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2021, salesforce.com, inc.
2+
* Copyright (c) 2025, salesforce.com, inc.
33
* All rights reserved.
44
* SPDX-License-Identifier: BSD-3-Clause
55
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/BSD-3-Clause
@@ -13,6 +13,7 @@ import SearchSuggestions from '@salesforce/retail-react-app/app/components/searc
1313
jest.mock(
1414
'@salesforce/retail-react-app/app/components/search/partials/search-suggestions-section',
1515
() => {
16+
/* eslint-disable react/prop-types -- mock component; cannot reference PropTypes inside jest.mock factory */
1617
const MockSuggestionSection = (props) => (
1718
<div data-testid="suggestion-section">
1819
{props.showAskAssistantBanner && props.onAskAssistantClick && (
@@ -26,6 +27,7 @@ jest.mock(
2627
)}
2728
</div>
2829
)
30+
/* eslint-enable react/prop-types */
2931
return MockSuggestionSection
3032
}
3133
)

0 commit comments

Comments
 (0)