function default.assert.register
#register(name: string,fn: (this: TestContext,...args: any[],) => void,): voidDefines a new assertion function with the provided name and function. If an assertion already exists with the same name, it is overwritten.
Parameters #
#name: string #fn: (this: TestContext,...args: any[],) => void Return Type #
void