📜  无法从“__tests__ App-test.tsx”中找到模块“酶”-无论代码示例

📅  最后修改于: 2022-03-11 14:59:29.038000             🧑  作者: Mango

代码示例1
You should do

)==> yarn add enzyme

Or

)==> npm i enzyme

if you're using npm.

@types/enzyme is used to get typescript interfaces but not the actual enzyme package!