Browse Source

fix test error

pull/10523/head
chenshuai2144 3 years ago
parent
commit
732581083c
  1. 2
      config/proxy.ts
  2. 1
      src/pages/User/Login/login.test.tsx

2
config/proxy.ts

@ -21,7 +21,7 @@ export default {
// changeOrigin: true,
// },
// },
/**
* @name
* @doc https://github.com/chimurai/http-proxy-middleware

1
src/pages/User/Login/login.test.tsx

@ -2,6 +2,7 @@
import React from 'react';
import { TestBrowser } from '@@/testBrowser';
// @ts-ignore
import { startMock } from '@@/requestRecordMock';
const waitTime = (time: number = 100) => {

Loading…
Cancel
Save