首页 > 解决方案 > Create-react-app-parcel-typescript with Jest

问题描述

I'm using create-react-app-parcel-typescript and want to use Jest. But I get the error:

● Validation Error:

Module C:...\polyfills.js in the setupFiles option was not found.

Configuration Documentation: https://facebook.github.io/jest/docs/configuration.html

error Command failed with exit code 1.

Does anyone know how to get it to work?

标签: reactjstypescriptjestjsparceljs

解决方案


推荐阅读