Jest验证器:验证对象结构的工具

toMatchShapeOf是一个用于验证对象结构的Jest匹配器,特别适用于API集成测试。安装方法:使用yarn add jest-to-match-shape-of或npm install jest-to-match-shape-of --save,并在您的setupTests.js或setupTests.ts中进行配置。
zip 文件大小:7.21MB