Skip to content

Commit

Permalink
fix(discoverability): use shorthand notation
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenCodes committed Sep 28, 2020
1 parent 7d9bcad commit 10b6d48
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/region/__tests__/RegionCreator-test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,7 @@ describe('RegionCreator', () => {
});

// Render helpers
const getWrapper = (props = {}): ReactWrapper =>
mount(
<RegionCreator onAbort={defaults.onAbort} onStart={defaults.onStart} onStop={defaults.onStop} {...props} />,
);
const getWrapper = (props = {}): ReactWrapper => mount(<RegionCreator {...defaults} {...props} />);
const getWrapperRoot = (wrapper: ReactWrapper): ReactWrapper => wrapper.find('[data-testid="ba-RegionCreator"]');

beforeEach(() => {
Expand Down

0 comments on commit 10b6d48

Please sign in to comment.