2023-02-27 01:54:28 +01:00
|
|
|
import { ServerStatus } from '../interfaces/server-status.model';
|
|
|
|
import { ServerStatusStaticService } from './status-service';
|
|
|
|
|
2023-02-27 01:55:16 +01:00
|
|
|
export const serverStatusServiceMockOf = (serverStatus: ServerStatus): ServerStatusStaticService =>
|
2023-02-27 01:54:28 +01:00
|
|
|
class ServerStatusServiceMock {
|
|
|
|
public static async getStatus(): Promise<ServerStatus> {
|
|
|
|
return serverStatus;
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
export default serverStatusServiceMockOf;
|