forked from baron/baron-sso
75f192fb24 기준 병합 code-check 수정
This commit is contained in:
@@ -159,10 +159,12 @@ describe("DeveloperRequestPage", () => {
|
||||
const reasonField = container.querySelector(
|
||||
"textarea",
|
||||
) as HTMLTextAreaElement | null;
|
||||
expect(reasonField).toBeTruthy();
|
||||
if (!reasonField) {
|
||||
throw new Error("Expected reason textarea to be rendered");
|
||||
}
|
||||
|
||||
await act(async () => {
|
||||
await setTextAreaValue(reasonField!, "Need RP access");
|
||||
await setTextAreaValue(reasonField, "Need RP access");
|
||||
});
|
||||
|
||||
const submitButton = Array.from(container.querySelectorAll("button")).find(
|
||||
|
||||
Reference in New Issue
Block a user