@kvaser/canking-api
Version:
CanKing API to communicate with the CanKing service using Node.js.
14 lines (13 loc) • 489 B
TypeScript
import { ElectronAPI } from '@electron-toolkit/preload';
/**
* Creates a new ElectronAPI fake object.
* @param userSettings Optional user settings to be used instead of the default.
* @returns A new ElectronAPI object.
*/
export declare const createElectronApiFake: (userSettings?: any) => ElectronAPI;
/**
* A fake implementation of the ElectronAPI interface, to be used during unit tests.
* @internal
*/
declare const electronApiFake: ElectronAPI;
export default electronApiFake;