Skip to content

Commit

Permalink
cambio de animated view a svg para correcto funcionamiento en version…
Browse files Browse the repository at this point in the history
…es antiguas de android
  • Loading branch information
williamSaya-J committed Sep 19, 2023
1 parent 3de88b8 commit 606a529
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/components/Loading/index.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,10 @@ describe('Loading component', () => {
children={validProps.children}
/>
);
// const ViewComponent = root.findByType(Animated.View);
const PathComponent = root.findAllByType(Path);
// console.log('PathComponent :', PathComponent[1].props.stroke);
// const {borderBottomColor, borderLeftColor, borderRightColor} = ViewComponent.props.style;
const {stroke} = PathComponent[1].props;

expect(stroke).toBe(defaultProps.color);
// expect(borderBottomColor).toBe(defaultProps.color);
// expect(borderLeftColor).toBe(defaultProps.color);
// expect(borderRightColor).toBe(defaultProps.color);
});

it('duration when it is not exist', () => {
Expand Down

0 comments on commit 606a529

Please sign in to comment.