Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

style(dashboard): wrap a long comment in the Login spec

Yudhi Armyndharis98f6ae08f2b0
diff --git a/dashboard/src/pages/Login.test.ts b/dashboard/src/pages/Login.test.ts
index aa994c470..cd58c56bd 100644
--- a/dashboard/src/pages/Login.test.ts
+++ b/dashboard/src/pages/Login.test.ts
@@ -72,7 +72,8 @@ async function submitAndReadError(): Promise<string> {
return message;
}
-// The only feedback a failed sign-in gives is this message, so it has to reach a screen reader and name the field it is about.
+// The only feedback a failed sign-in gives is this message, so it has to reach a screen reader and name the field it
+// is about.
test('a refused sign-in is announced and tied to the key field', async () => {
reply = () => new Response('', { status: 401 });
await submitAndReadError();