13 lines
284 B
TypeScript
13 lines
284 B
TypeScript
import TestConfiguration from "../TestConfiguration"
|
|
import { TestAPI } from "./base"
|
|
|
|
export class StatusAPI extends TestAPI {
|
|
constructor(config: TestConfiguration) {
|
|
super(config)
|
|
}
|
|
|
|
getStatus = () => {
|
|
return this.request.get(`/api/system/status`).expect(200)
|
|
}
|
|
}
|