import React, { useEffect } from 'react'; import teamixTest from '@teamix/testing-capability'; const InnerTest = () => { useEffect(() => { // 环境配置 // fetch('https://uni.mixteam.alibaba-inc.com/user/checkLogin.json'); }, []); useEffect(() => { setTimeout(async () => { console.log('TEAMIX_TEST_ERRORINFO', window.TEAMIX_TEST_ERRORINFO); const testA = await teamixTest({ testItem: ['PRECHECK'], extendMap: { testUrl: 'http://127.0.0.1:7777/', }, }); // console.log('预测试 => ', testA); }, 3000); }, []); return
预测测试
; }; export default InnerTest;