Skip to content

Commit

Permalink
Code style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Diego Landa committed Apr 27, 2017
1 parent 8359235 commit 945de50
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/__tests__/data/ConstExport.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ const nonExportedFunc = (props: IRowProps) => {
return <div>No Export</div>
};

export default Row;
export default Row;
3 changes: 2 additions & 1 deletion src/__tests__/parser.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ describe('parser', () => {
it('Should parse class-based pure components', () => {
const fileName = path.join(__dirname, '../../src/__tests__/data/PureRow.tsx'); // it's running in ./temp
const result = getDocumentation(fileName);

assert.ok(result.classes);
assert.ok(result.interfaces);
assert.equal(1, result.classes.length);
Expand Down Expand Up @@ -153,4 +154,4 @@ describe('parser', () => {
assert.equal(true, i.members[3].isRequired);
});

});
});

0 comments on commit 945de50

Please sign in to comment.