Skip to content

Commit

Permalink
Fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgperry committed May 14, 2024
1 parent 4f8ed16 commit a617e96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dev/examples/Animation-display-visibility.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const App = () => {
visibility: state ? "visible" : "hidden",
opacity: state ? 1 : 0.2,
}}
onUpdate={console.log}
onUpdate={(latest: any) => console.log(latest)}
style={style}
/>
<button onClick={() => setState(!state)}>Toggle</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ describe("animate prop as object", () => {
return expect(promise).resolves.toEqual([true, "block"])
})

test.only("animate display block => none switches to none on animation end", async () => {
test("animate display block => none switches to none on animation end", async () => {
const promise = new Promise((resolve) => {
let hasChecked = false
const Component = () => {
Expand Down

0 comments on commit a617e96

Please sign in to comment.