Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
geolffreym committed Jan 4, 2022
1 parent af67113 commit cffd3c3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/render/core/app/components/Image/index.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ describe('<Image />', () => {
expect(imageComponent).toMatchSnapshot()
})


// eslint-disable-next-line no-undef
it('should render with random gateway', () => {
const imageComponent = mount(<Image src={src} />)
Expand All @@ -26,12 +25,10 @@ describe('<Image />', () => {
// eslint-disable-next-line no-undef
it('should not render with empty src', () => {
try {
shallow(<Image src={""} />)
shallow(<Image src='' />)
} catch (e) {
// eslint-disable-next-line no-undef
expect(e).toBeInstanceOf(Error)
}
})


})

0 comments on commit cffd3c3

Please sign in to comment.