We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93a1457 commit c8d860aCopy full SHA for c8d860a
README.md
@@ -31,6 +31,6 @@ const mailBox = await testMail.createNew()
31
### Wait for an email to be received
32
33
```typescript
34
-const { message } = await testMail.waitForMessage(mailBox.emailAddress)
+const { message } = await testMail.waitForMessage(mailBox.id)
35
```
36
lib/models.ts
@@ -1,4 +1,5 @@
1
export interface GetTestMail {
2
+ id: string;
3
emailAddress: string;
4
expiresAt: string;
5
message?: Message;
0 commit comments