Skip to content

Commit 6c1f668

Browse files
committed
cleaning up console logs after testing
1 parent 59db6b5 commit 6c1f668

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

apps/docs/src/remix/remix-textarea.stories.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -128,17 +128,11 @@ const testBlockedContent = async ({ canvasElement }: { canvasElement: HTMLElemen
128128
// Submit and wait for response
129129
await userEvent.click(submitButton);
130130

131-
// Debug the form submission
132-
console.log('Form submitted with blocked content');
133-
134131
// Wait for any state updates
135132
await new Promise((resolve) => setTimeout(resolve, 100));
136133

137-
console.log('After submission DOM:', canvasElement.innerHTML);
138-
139134
// Check if the error is in the DOM
140-
const errorElements = canvas.queryAllByText((content, element) => {
141-
console.log('Found element with content:', content);
135+
const errorElements = canvas.queryAllByText((content) => {
142136
return content.includes(BLOCKED_CONTENT_ERROR);
143137
});
144138

0 commit comments

Comments
 (0)