From eb9a993a3a615501d09ef87048532fc7fbf1818f Mon Sep 17 00:00:00 2001 From: Rustam Goygov Date: Tue, 17 Dec 2024 18:36:59 -0800 Subject: [PATCH] Update --- playground/nextjs-app-router/onchainkit/package.json | 2 +- src/fund/components/FundCard.test.tsx | 6 ++++-- vitest.config.ts | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/playground/nextjs-app-router/onchainkit/package.json b/playground/nextjs-app-router/onchainkit/package.json index 875ca5acb7..22fb179777 100644 --- a/playground/nextjs-app-router/onchainkit/package.json +++ b/playground/nextjs-app-router/onchainkit/package.json @@ -1,6 +1,6 @@ { "name": "@coinbase/onchainkit", - "version": "0.36.0", + "version": "0.36.1", "type": "module", "repository": "https://github.com/coinbase/onchainkit.git", "license": "MIT", diff --git a/src/fund/components/FundCard.test.tsx b/src/fund/components/FundCard.test.tsx index d729b31125..c446c1c1ca 100644 --- a/src/fund/components/FundCard.test.tsx +++ b/src/fund/components/FundCard.test.tsx @@ -200,12 +200,14 @@ describe('FundCard', () => { it('sets submit button state to default on popup close', () => { vi.useFakeTimers(); - (openPopup as Mock).mockImplementation(() => ({closed: true})); + (openPopup as Mock).mockImplementation(() => ({ closed: true })); renderComponent(); const button = screen.getByTestId('ockFundButton'); // Simulate entering a valid amount - const input = screen.getByTestId('ockFundCardAmountInput') as HTMLInputElement; + const input = screen.getByTestId( + 'ockFundCardAmountInput', + ) as HTMLInputElement; act(() => { fireEvent.change(input, { target: { value: '100' } }); }); diff --git a/vitest.config.ts b/vitest.config.ts index 0c0c1181e8..d645aee1ea 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -24,7 +24,7 @@ export default defineConfig({ 'playground/**', 'site/**', 'create-onchain/**', - '**/**.test.tsx' + '**/**.test.tsx', ], reportOnFailure: true, thresholds: {