Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Sporadic Typing in Test Inputs #7280

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
20 changes: 6 additions & 14 deletions packages/insomnia/src/ui/routes/test-suite.tsx
Expand Up @@ -565,25 +565,17 @@ const TestSuiteRoute = () => {
</div>
)}
{unitTests.length > 0 && (
<ListBox
dragAndDropHooks={unitTestsDragAndDrop.dragAndDropHooks}
items={unitTests.map(unitTest => ({
...unitTest,
id: unitTest._id,
key: unitTest._id,
}))}
className="flex-1 flex flex-col divide-y divide-solid divide-[--hl-md] overflow-y-auto"
>
{unitTest => (
<ListBoxItem className="outline-none">
<div className="flex-1 flex flex-col divide-y divide-solid divide-[--hl-md] overflow-y-auto">
{unitTests.map(unitTest => (
<div key={unitTest._id} className="outline-none">
<Button slot="drag" className="hidden" />
<UnitTestItemView
unitTest={unitTest}
testsRunning={testsRunning}
/>
</ListBoxItem>
)}
</ListBox>
</div>
))}
</div>
)}
</div>
);
Expand Down