Skip to content

Commit

Permalink
Edit index files
Browse files Browse the repository at this point in the history
  • Loading branch information
amrocha committed Sep 6, 2019
1 parent fab748b commit 05fad00
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import {mountWithAppProvider} from 'test-utilities/legacy';
import Day from '../Day';
import {Day} from '../Day';

describe('<Day />', () => {
it('renders a button', () => {
Expand Down
4 changes: 1 addition & 3 deletions src/components/DatePicker/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
import DatePicker, {DatePickerProps, Range, Months, Year} from './DatePicker';

export {DatePicker, DatePickerProps, Range, Months, Year};
export {DatePicker, DatePickerProps, Range, Months, Year} from './DatePicker';
2 changes: 1 addition & 1 deletion src/components/DatePicker/tests/DatePicker.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import {Weekdays} from '@shopify/javascript-utilities/dates';
import {mountWithAppProvider} from 'test-utilities/legacy';
import {Day, Month, Weekday} from '../components';
import DatePicker from '../DatePicker';
import {DatePicker} from '../DatePicker';

describe('<DatePicker />', () => {
const selected = {
Expand Down

0 comments on commit 05fad00

Please sign in to comment.