Add JSDoc comments.
This commit is contained in:
parent
d8f64e1de6
commit
ec714638a4
|
@ -22,10 +22,12 @@ export class Group {
|
||||||
|
|
||||||
constructor(public name: string) {}
|
constructor(public name: string) {}
|
||||||
|
|
||||||
|
/** Set a function to run after all tests have finished. */
|
||||||
afterAll(fn: Group["_afterAll"]): void {
|
afterAll(fn: Group["_afterAll"]): void {
|
||||||
this._afterAll = fn;
|
this._afterAll = fn;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Set a function to run before all tests begin. */
|
||||||
beforeAll(fn: Group["_beforeAll"]): void {
|
beforeAll(fn: Group["_beforeAll"]): void {
|
||||||
this._beforeAll = fn;
|
this._beforeAll = fn;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue