Skip to content

Commit

Permalink
test(Toggle): remove obsolete test
Browse files Browse the repository at this point in the history
  • Loading branch information
emyarod committed Feb 5, 2021
1 parent 3875309 commit 0046d4a
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions packages/react/src/components/Toggle/Toggle-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,5 @@ describe('Toggle', () => {
const svg = wrapper.find(`.${prefix}--toggle__check`);
expect(svg.length).toBe(1);
});

it('Does not render toggle text', () => {
const offLabel = wrapper.find(`.${prefix}--toggle__text--off`);
const onLabel = wrapper.find(`.${prefix}--toggle__text--on`);
expect(offLabel.length).toBe(0);
expect(onLabel.length).toBe(0);
});
});
});

0 comments on commit 0046d4a

Please sign in to comment.