SyntaxError: Missing initializer in const declaration

前端 未结 2 1790
没有蜡笔的小新
没有蜡笔的小新 2020-12-06 17:10

I am writing a simple test using react-native-testing-library (my first steps with that library) in my react native expo app. But I am getting a confused error

2条回答
  •  南方客
    南方客 (楼主)
    2020-12-06 17:42

    I resolved this added "preset": "react-native" in jest.config.js file

提交回复
热议问题