mirror of
https://github.com/owncast/owncast.git
synced 2024-11-22 04:40:37 +03:00
13 lines
397 B
TypeScript
13 lines
397 B
TypeScript
|
import { VideoSettingsStaticService, VideoQuality } from './video-settings-service';
|
||
|
|
||
|
export const videoSettingsServiceMockOf = (
|
||
|
videoQualities: Array<VideoQuality>,
|
||
|
): VideoSettingsStaticService =>
|
||
|
class VideoSettingsServiceMock {
|
||
|
public static async getVideoQualities(): Promise<Array<VideoQuality>> {
|
||
|
return videoQualities;
|
||
|
}
|
||
|
};
|
||
|
|
||
|
export default videoSettingsServiceMockOf;
|