-
Notifications
You must be signed in to change notification settings - Fork 212
Expand file tree
/
Copy pathindex.test.ts
More file actions
22 lines (21 loc) · 887 Bytes
/
index.test.ts
File metadata and controls
22 lines (21 loc) · 887 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
* Copyright (c) 2023, Salesforce, Inc.
* All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/BSD-3-Clause
*/
import {ShopperExperience} from 'commerce-sdk-isomorphic'
import {getUnimplementedEndpoints} from '../../test-utils'
import * as queries from './query'
describe('Shopper Experience hooks', () => {
test('all endpoints have hooks', () => {
const unimplemtented = getUnimplementedEndpoints(ShopperExperience, queries)
expect(unimplemtented).toEqual([
'getContent', //TODO: implement later
'getContentFolder', //TODO: implement later
'getContentFolders', //TODO: implement later
'getMultipleContent', //TODO: implement later
'searchContent' //TODO: implement later
])
})
})