diff --git a/src/lightning-stubs/uiRelatedListApi/uiRelatedListApi.js b/src/lightning-stubs/uiRelatedListApi/uiRelatedListApi.js new file mode 100644 index 00000000..562ba887 --- /dev/null +++ b/src/lightning-stubs/uiRelatedListApi/uiRelatedListApi.js @@ -0,0 +1,14 @@ +/* + * Copyright (c) 2023, salesforce.com, inc. + * All rights reserved. + * SPDX-License-Identifier: MIT + * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT + */ +import { createLdsTestWireAdapter } from '@salesforce/wire-service-jest-util'; + +export const getRelatedListCount = createLdsTestWireAdapter(jest.fn()); +export const getRelatedListInfo = createLdsTestWireAdapter(jest.fn()); +export const getRelatedListInfoBatch = createLdsTestWireAdapter(jest.fn()); +export const getRelatedListRecordsBatch = createLdsTestWireAdapter(jest.fn()); +export const getRelatedListRecords = createLdsTestWireAdapter(jest.fn()); +export const getRelatedListsInfo = createLdsTestWireAdapter(jest.fn());