Skip to content

Commit 2da22d8

Browse files
committed
Fix linter errors
1 parent 532756b commit 2da22d8

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/components/projects/SiteOrGithubLink.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,6 @@ SiteOrGithubLink.propTypes = {
2727

2828
SiteOrGithubLink.defaultProps = {
2929
preferredUrl: undefined,
30-
className: undefined
30+
className: undefined,
31+
children: undefined
3132
};

src/components/skills/SkillsSectionContainer.test.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ describe.skip("`SkillsSectionContainer`", () => {
1717
});
1818

1919
it("should call fetch for github repos", done => {
20+
// eslint-disable-next-line @typescript-eslint/unbound-method
2021
expect(mockedAxios.get).toHaveBeenCalledTimes(0);
2122

2223
const config = {
@@ -34,6 +35,7 @@ describe.skip("`SkillsSectionContainer`", () => {
3435
.componentDidMount()
3536
.then(() => {
3637
// expect(axios.get).toHaveBeenCalledTimes(1);
38+
// eslint-disable-next-line @typescript-eslint/unbound-method
3739
expect(mockedAxios.get).toHaveBeenCalledWith(config);
3840
done();
3941
});

0 commit comments

Comments
 (0)