fix: remove unnecessary test assertions and improve act usage

This commit is contained in:
2025-02-22 23:58:34 +01:00
parent 725bbe5d50
commit 5affec766f
5 changed files with 47 additions and 12 deletions

View File

@@ -55,7 +55,6 @@ export async function POST(request: NextRequest) {
new Promise<string>((resolve, reject) => {
transport.sendMail(mailOptions, function (err, info) {
if (!err) {
console.log("Email sent");
resolve(info.response);
} else {
console.error("Error sending email:", err);