What is the best way to mock and test the inner method onConfirm?
public confirm(): void {
this.confirmation.open({
onConfirm: () => this.foo(this.bar('baz'))
})
}
What is the best way to mock and test the inner method onConfirm?
public confirm(): void {
this.confirmation.open({
onConfirm: () => this.foo(this.bar('baz'))
})
}