fix: #401 improve bounty payout display clarity #412
+39
−4
Annotations
5 errors and 1 warning
|
Run pnpm test
Process completed with exit code 1.
|
|
Run pnpm test:
src/components/gigs/GigCard.test.tsx#L266
TestingLibraryElementError: Unable to find an element with the text: /\$1\.00 USD \(SOL\)/. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body>
<div>
<div
data-href="/gigs/gig-1"
role="link"
>
<div
class="flex items-start justify-between gap-4"
>
<div
class="flex-1 min-w-0"
>
<h3
class="font-semibold text-lg truncate"
>
Build a React App
</h3>
<p
class="text-muted-foreground text-sm mt-1 line-clamp-2 whitespace-pre-wrap break-words"
>
We need a skilled React developer to build our frontend.
</p>
</div>
<div
class="flex items-center gap-2 flex-shrink-0"
>
<button
class="inline-flex items-center justify-center h-7 w-7 rounded-md text-muted-foreground hover:text-primary hover:bg-muted transition-colors "
title="Copy shareable link"
type="button"
>
<svg
aria-hidden="true"
class="lucide lucide-link h-3.5 w-3.5"
fill="none"
height="24"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="24"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"
/>
<path
d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"
/>
</svg>
</button>
<div
class="flex flex-col items-center gap-1"
>
<img
alt="Jane Doe"
class="h-10 w-10 rounded-full ring-2 ring-border object-cover"
height="40"
src="https://example.com/avatar.jpg"
width="40"
/>
<span
class="text-xs text-muted-foreground truncate max-w-[80px]"
>
@
janedoe
</span>
</div>
</div>
</div>
<div
class="flex flex-wrap gap-2 mt-4"
>
<div
class="inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 border-transparent hover:bg-primary/80 font-medium bg-blue-100 text-blue-800 dark:bg-blue-900 dark:text-blue-200"
>
Hiring
</div>
<div
class="inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80 font-medium"
>
Web Development
</div>
<div
data-href="/gigs?skill=React"
role="link"
>
<div
class="inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 text-foreground cursor-pointer hover:bg-primary/10"
>
React
</div>
</div>
<div
data-href="/gigs?skill=TypeScript"
role="link"
>
<div
class="inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 text-foreground cursor-pointer hover:bg-primary/10"
>
TypeScript
</div>
</div>
<div
data-href="/gigs?skill=Tailwind"
role="link"
>
<div
class="inline-flex items-center rounded-f
|
|
Run pnpm test:
src/lib/bounties.test.ts#L16
AssertionError: expected '$2.5 USD (BTC)' to be '$2.50 USD (BTC)' // Object.is equality
Expected: "$2.50 USD (BTC)"
Received: "$2.5 USD (BTC)"
❯ src/lib/bounties.test.ts:16:47
|
|
Run pnpm test:
src/lib/bounties.test.ts#L11
AssertionError: expected '$1 USD (SOL)' to be '$1.00 USD (SOL)' // Object.is equality
Expected: "$1.00 USD (SOL)"
Received: "$1 USD (SOL)"
❯ src/lib/bounties.test.ts:11:42
|
|
Run pnpm test:
src/lib/bounties.test.ts#L6
AssertionError: expected '$1 USD' to be '$1.00 USD' // Object.is equality
Expected: "$1.00 USD"
Received: "$1 USD"
❯ src/lib/bounties.test.ts:6:41
|
|
Complete job
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
background
wait
wait-all
cancel
Loading