Skip to content

Commit

Permalink
feat: added uiRelatedListApi stubs (#334)
Browse files Browse the repository at this point in the history
  • Loading branch information
pozil committed Aug 8, 2023
1 parent 7823d60 commit d012ff5
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/lightning-stubs/uiRelatedListApi/uiRelatedListApi.js
Original file line number Diff line number Diff line change
@@ -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());

0 comments on commit d012ff5

Please sign in to comment.