mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-04-22 06:26:19 +00:00
Moved mercure hub binding from custom hook to HOC
This commit is contained in:
@@ -7,10 +7,9 @@ import appFactory from '../src/App';
|
||||
describe('<App />', () => {
|
||||
let wrapper: ShallowWrapper;
|
||||
const MainHeader = () => null;
|
||||
const DummyComponent = () => null;
|
||||
|
||||
beforeEach(() => {
|
||||
const App = appFactory(MainHeader, DummyComponent, DummyComponent, DummyComponent, DummyComponent, DummyComponent);
|
||||
const App = appFactory(MainHeader, () => null, () => null, () => null, () => null, () => null, () => null);
|
||||
|
||||
wrapper = shallow(<App fetchServers={identity} servers={{}} />);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user