@shko.online/componentframework-mock
Version:
Mocking library to help with testing PowerApps Component Framework Components
21 lines (18 loc) • 521 B
text/typescript
/*
Copyright (c) 2022 Betim Beja and Shko Online LLC
Licensed under the MIT license.
*/
import { MetadataMock } from './Metadata.mock';
import { OptionMetadataMock } from './OptionMetadata.mock';
export class OptionSetMetadataMock
extends MetadataMock
implements ComponentFramework.PropertyHelper.FieldPropertyMetadata.OptionSetMetadata
{
Options: OptionMetadataMock[];
DefaultValue: number;
constructor() {
super();
this.Options = [];
this.DefaultValue = 0;
}
}