When running a Jest test, a variable outside the function is undefined

前端 未结 0 1740
时光取名叫无心
时光取名叫无心 2021-01-04 00:32

This is my dev code below.

import { proxyManager } from \'../../proxy\'
const proxy = proxyManager.get() 
// proxy is expected to be an object like this:
// {         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题