@shko.online/componentframework-mock
Version:
Mocking library to help with testing PowerApps Component Framework Components
14 lines • 586 B
TypeScript
/// <reference types="powerapps-component-framework" />
import type { SinonStub } from 'sinon';
export declare class UserSettingsMock implements ComponentFramework.UserSettings {
dateFormattingInfo: ComponentFramework.UserSettingApi.DateFormattingInfo;
isRTL: boolean;
languageId: number;
numberFormattingInfo: ComponentFramework.UserSettingApi.NumberFormattingInfo;
securityRoles: string[];
userId: string;
userName: string;
getTimeZoneOffsetMinutes: SinonStub<[date?: Date], number>;
constructor();
}
//# sourceMappingURL=UserSettings.mock.d.ts.map