Prettified Code!

This commit is contained in:
gabek 2023-02-27 00:55:16 +00:00 committed by GitHub Action
parent b38df2fbe3
commit 61b207eb48

View File

@ -1,9 +1,7 @@
import { ServerStatus } from '../interfaces/server-status.model';
import { ServerStatusStaticService } from './status-service';
export const serverStatusServiceMockOf = (
serverStatus: ServerStatus,
): ServerStatusStaticService =>
export const serverStatusServiceMockOf = (serverStatus: ServerStatus): ServerStatusStaticService =>
class ServerStatusServiceMock {
public static async getStatus(): Promise<ServerStatus> {
return serverStatus;