mirror of
https://github.com/owncast/owncast.git
synced 2024-11-23 21:28:29 +03:00
11 lines
405 B
TypeScript
11 lines
405 B
TypeScript
import { ServerStatus } from '../interfaces/server-status.model';
|
|
import { ServerStatusStaticService } from './status-service';
|
|
|
|
export const serverStatusServiceMockOf = (serverStatus: ServerStatus): ServerStatusStaticService =>
|
|
class ServerStatusServiceMock {
|
|
public static async getStatus(): Promise<ServerStatus> {
|
|
return serverStatus;
|
|
}
|
|
};
|
|
|
|
export default serverStatusServiceMockOf;
|