Prettified Code!
This commit is contained in:
parent
b38df2fbe3
commit
61b207eb48
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user