Skip to content

Commit

Permalink
feat #119 - Fix build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Oct 18, 2020
1 parent 204aba7 commit e7395a1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 40 deletions.
38 changes: 1 addition & 37 deletions src/__snapshots__/storybook.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ exports[`Storyshots Input Error 1`] = `
className="container-0-2-5 container-d5-0-2-14"
>
<input
className="ant-input error"
className="ant-input error-0-2-6"
data-test="input"
disabled={false}
onBlur={[Function]}
Expand Down Expand Up @@ -381,42 +381,6 @@ exports[`Storyshots Notification Default 1`] = `
</div>
`;

exports[`Storyshots NotificationDark Default 1`] = `
<div
className="light storyWrapper-0-2-2"
>
<button
className="ant-btn ant-btn-default"
data-test="button"
disabled={false}
onClick={[Function]}
type="button"
>
<span>
Click
</span>
</button>
</div>
`;

exports[`Storyshots NotificationLight Default 1`] = `
<div
className="light storyWrapper-0-2-2"
>
<button
className="ant-btn ant-btn-default"
data-test="button"
disabled={false}
onClick={[Function]}
type="button"
>
<span>
Click
</span>
</button>
</div>
`;

exports[`Storyshots Notifications Error 1`] = `
<div
className="light storyWrapper-0-2-2"
Expand Down
2 changes: 1 addition & 1 deletion src/components/Form/FieldLabel/FieldLabel.test.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react'
import { Skeleton } from 'components/Skeleton'
import FieldLabel, { FieldLabelProps } from './index'
import { mount, shallow, ShallowWrapper } from 'enzyme'
import { shallow, ShallowWrapper } from 'enzyme'

let wrapper: ShallowWrapper<FieldLabelProps>

Expand Down
2 changes: 1 addition & 1 deletion src/components/NotificationV2/__tests__/utils.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ describe('useCreateDomElement', () => {
popupContainerElement.setAttribute('id', popupContainerId)
document.body.appendChild(popupContainerElement)

const { unmount } = renderHook(() =>
renderHook(() =>
useCreateDomElement(
() =>
document.querySelector(
Expand Down
2 changes: 1 addition & 1 deletion src/components/NotificationV2/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export const useNotifications = () => {
}
])

// setTimeout(removeNotification, duration)
setTimeout(removeNotification, duration)
},
[]
)
Expand Down

0 comments on commit e7395a1

Please sign in to comment.