All files job.ts

75% Statements 6/8
0% Branches 0/2
66.67% Functions 2/3
83.33% Lines 5/6

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 141x   1x       41x     1x     1x  
import { API, JobStatus } from "./api";
 
export class Job {
  reqId: string;
 
  constructor(reqId: string) {
    this.reqId = reqId;
  }
 
  async status(): Promise<JobStatus> {
    return await API.jobStatus(this.reqId);
  }
}