tabbar.mock.js
334 Bytes
import { getTabbarConfigFixture } from '../fixtures/tabbar.fixture'
import { buildMockSuccess } from '../shared/response'
export const tabbarMockHandlers = [
{
action: 'tabbar',
type: 'config',
method: 'GET',
handle: () => buildMockSuccess(getTabbarConfigFixture(), '底部导航配置获取成功 (mock)'),
},
]