Add JSDoc comments.

This commit is contained in:
Bauke 2022-12-24 23:32:10 +01:00
parent d8f64e1de6
commit ec714638a4
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 2 additions and 0 deletions

View File

@ -22,10 +22,12 @@ export class Group {
constructor(public name: string) {}
/** Set a function to run after all tests have finished. */
afterAll(fn: Group["_afterAll"]): void {
this._afterAll = fn;
}
/** Set a function to run before all tests begin. */
beforeAll(fn: Group["_beforeAll"]): void {
this._beforeAll = fn;
}