Adjust flip card behavior #25
Annotations
2 errors
src/components/SwipeableCard.test.tsx > SwipeableCard > calls onSwiped with correct direction on swipe up:
frontend/src/components/SwipeableCard.test.tsx#L55
AssertionError: expected "spy" to be called with arguments: [ 'up' ]
Received:
Number of calls: 0
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class="swipeable-card flipped justify-center p-8"
>
<div
class="watermark "
data-testid="wartermark-id"
/>
<h1
class="font-mono text-4xl font-extrabold swipeable-card-content"
>
Test Content
</h1>
<div
class="swipeable-card-back"
>
Test Content
(Back)
</div>
</div>
</div>
</body>
</html>
❯ src/components/SwipeableCard.test.tsx:55:44
❯ runWithExpensiveErrorDiagnosticsDisabled node_modules/.pnpm/@testing-library+dom@10.2.0/node_modules/@testing-library/dom/dist/config.js:47:12
❯ checkCallback node_modules/.pnpm/@testing-library+dom@10.2.0/node_modules/@testing-library/dom/dist/wait-for.js:124:77
❯ Timeout.checkRealTimersCallback node_modules/.pnpm/@testing-library+dom@10.2.0/node_modules/@testing-library/dom/dist/wait-for.js:118:16
|
frontend
Process completed with exit code 1.
|