我正在尝试配置(Windows) Visual Studio Code launch.json来启动当前文件的jest测试。为了得到路径,我使用了${relativeFile}变量,它给出了一个带反斜杠的字符串,就像这样的"src\services\some-service.spec.ts",尽管在中斜杠看起来很正常。似乎jest不接受这种路径,因为它使用了反斜杠。当我手动传递带有正常斜杠的相同路径时,它工作得很好。问题是,有没有办法在${relativeFile}之类的VSCode路
因此,在我正在从事的一个项目中,我正在学习如何通过react- jest library使用jest。React from 'react'import '@testing-library/jest-dom现在,当我运行npm test时,我得到了这样的结果: Test suite failed to ru