Skip to content

Commit

Permalink
fix(vx-glyph): fix any in Glyph.test
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Williams committed Dec 18, 2019
1 parent a656733 commit 8966fea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vx-glyph/test/Glyph.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ describe('<Glyph />', () => {

test('it should take top,left number props', () => {
const wrapper = render(<Glyph top={2} left={2} />);
expect(wrapper['0'].attribs.transform).toBe('translate(2, 2)');
expect(wrapper['0'].attribs.transform as string).toBe('translate(2, 2)');
});
});

0 comments on commit 8966fea

Please sign in to comment.