"react-native": "^0.57.3",
                  
                  
                      "@babel/core": "^7.1.0"
                  
                  
                  
                  
                  
                  И теперь во всех тестах "jest" вылетает такая ошибка:
                  
                  
                  Support for the experimental syntax 'classProperties' isn't currently enabled (20:24):
                  
                  
                        18 |
                  
                  
                        19 |   const Component = class extends SuperClass {
                  
                  
                      > 20 |     static displayName = 'Component';
                  
                  
                           |                        ^
                  
                  
                  
                  
                  
                  Кто нибудь знает как пофиксить данную проблему?
                  
                  
                
Попробуй добавить в jest настройки "transform": { "^.+\\.js$": "<rootDir>/node_modules/react-native/jest/preprocessor.js" }
Обсуждают сегодня