import React from 'react'; import { initialWrapper, createPlugin } from '@modern-js/runtime-core'; import { render } from '@testing-library/react'; import { fetchPlugin, useFetch } from '../src/plugin'; describe.skip('@modern-js/plugin-fetch', () => { it('base usage', () => { const wrap = initialWrapper([ createPlugin(() => ({ hoc: ({ App: App1 }, next) => next({ App: App1 }), })), fetchPlugin, ]); interface Props { test: number; } function App({ test }: Props) { const fetch = useFetch(); fetch('http://localhost/test'); return