Skip to content

Commit

Permalink
Fixed TSX
Browse files Browse the repository at this point in the history
  • Loading branch information
RafaPolit committed Feb 24, 2021
1 parent bcdb188 commit 0ce470c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/react/Settings/components/CollectionSettingsV2.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import React from 'react';

export const CollectionSettings = () => <span>a</span>;
11 changes: 11 additions & 0 deletions app/react/Settings/components/specs/CollectionSettingsV2.spec.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import React from 'react';
import { shallow, ShallowWrapper } from 'enzyme';
import { CollectionSettings } from '../CollectionSettingsV2';

describe('Collection settings', () => {
let component: ShallowWrapper<typeof CollectionSettings>;

it('should allow custom landing page', () => {
component = shallow(<CollectionSettings />);
});
});

0 comments on commit 0ce470c

Please sign in to comment.