fix: tooltip not working and useSWR broken (#924) #3722
Annotations
3 errors and 1 warning
Run tests
@fern-ui/ui#test: command (/home/runner/work/fern-platform/fern-platform/packages/ui/app) /home/runner/setup-pnpm/node_modules/.bin/pnpm run test exited (1)
|
Run tests:
packages/ui/app/src/commons/__test__/CopyToClipboardButton.test.tsx#L24
Error: Snapshot `CopyToClipboardButton > renders correctly 1` mismatched
- Expected
+ Received
@@ -1,12 +1,18 @@
<button
aria-disabled={false}
className="group fern-copy-button fern-button minimal normal rounded square"
- data-state="off"
+ data-state="closed"
data-testid="copy-btn"
disabled={false}
+ onBlur={[Function]}
+ onClick={[Function]}
onClickCapture={[Function]}
+ onFocus={[Function]}
+ onPointerDown={[Function]}
+ onPointerLeave={[Function]}
+ onPointerMove={[Function]}
tabIndex={0}
>
<span
className="fern-button-content"
>
❯ src/commons/__test__/CopyToClipboardButton.test.tsx:24:22
|
Run tests
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading