You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
405 B
11 lines
405 B
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;
|
|
|