Skip to content

Commit

Permalink
fix: re-enable animation tests
Browse files Browse the repository at this point in the history
  • Loading branch information
marklawlor committed Jul 28, 2023
1 parent 6aaffc5 commit 3ec9a8d
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions packages/nativewind/src/__tests__/transition-animations.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { testCases } from "../test-utils";

afterEach(() => resetStyles());

describe.only("Transitions & Animation - Transition Property", () => {
describe("Transitions & Animation - Transition Property", () => {
testCases(
// TODO: Add tests for all transition properties
// "transition-none",
Expand Down Expand Up @@ -45,29 +45,29 @@ describe.only("Transitions & Animation - Transition Property", () => {
},
},
],
// [
// "transition-opacity",
// {
// style: {
// opacity: 1,
// },
// meta: {
// transition: {
// duration: [{ value: 150, type: "milliseconds" }],
// timingFunction: [
// {
// type: "cubic-bezier",
// x1: 0.4000000059604645,
// x2: 0.20000000298023224,
// y1: 0,
// y2: 1,
// },
// ],
// property: ["opacity"],
// },
// },
// },
// ],
[
"transition-opacity",
{
style: {
opacity: 1,
},
meta: {
transition: {
duration: [{ value: 150, type: "milliseconds" }],
timingFunction: [
{
type: "cubic-bezier",
x1: 0.4000000059604645,
x2: 0.20000000298023224,
y1: 0,
y2: 1,
},
],
property: ["opacity"],
},
},
},
],
);
});

Expand Down

0 comments on commit 3ec9a8d

Please sign in to comment.