mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2025-05-05 19:22:58 +03:00
Converted DateInput into functional component
This commit is contained in:
parent
cccf57a35a
commit
70ebb0362a
2 changed files with 33 additions and 33 deletions
test/utils
|
@ -13,12 +13,7 @@ describe('<DateInput />', () => {
|
|||
return wrapped;
|
||||
};
|
||||
|
||||
afterEach(() => {
|
||||
if (wrapped !== undefined) {
|
||||
wrapped.unmount();
|
||||
wrapped = undefined;
|
||||
}
|
||||
});
|
||||
afterEach(() => wrapped && wrapped.unmount());
|
||||
|
||||
it('wrapps a DatePicker', () => {
|
||||
wrapped = createComponent();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue