(email: string, options: Testmail.WaitOptions = {})
| 81 | } |
| 82 | |
| 83 | async waitForOTP(email: string, options: Testmail.WaitOptions = {}): Promise<string> { |
| 84 | const message = await this.waitForEmail(this.extractTag(email), options) |
| 85 | return this.findOTP(message) |
| 86 | } |
| 87 | |
| 88 | generateTestEmail(params: Testmail.EmailTagParams = {}): Testmail.TestEmail { |
| 89 | const tag = this.createStructuredTag(params) |
no test coverage detected