Testing ejected project with Jest

#1

I am getting:

FAIL  ./App.test.js
 ● Test suite failed to run

   /Users/haito/Projects/react-native/TalkToMe/node_modules/react-router-native/main.js:1
   ({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,global,jest){export * from 'react-router'
                                                                                            ^^^^^^

   SyntaxError: Unexpected token export

     at ScriptTransformer._transformAndBuildScript (node_modules/jest-runtime/build/script_transformer.js:305:17)
     at Object.<anonymous> (App.js:2:24)
     at Object.<anonymous> (App.test.js:2:10)

Test Suites: 1 failed, 1 total
Tests:       0 total
Snapshots:   0 total
Time:        0.071s
Ran all test suites.

Package.json:

{
  "name": "TalkToMe",
  "version": "0.1.0",
  "private": true,
  "devDependencies": {
    "@babel/core": "^7.0.0-beta.32",
    "babel-core": "^7.0.0-0",
    "babel-jest": "^21.2.0",
    "es2015": "^0.0.0",
    "jest": "^21.2.1",
    "jest-expo": "^23.0.0",
    "react-test-renderer": "16.0.0-beta.5",
    "regenerator-runtime": "^0.11.0"
  },
  "main": "node_modules/expo/AppEntry.js",
  "scripts": {
    "test": "node_modules/.bin/jest"
  },
  "jest": {
    "preset": "jest-expo"
  },
  "dependencies": {
    "axios": "^0.17.1",
    "expo": "^22.0.2",
    "global": "^4.3.2",
    "history": "^4.7.2",
    "react": "16.0.0-beta.5",
    "react-native": "https://github.com/expo/react-native/archive/sdk-22.0.0.tar.gz",
    "react-native-cli": "^2.0.1",
    "react-redux": "^5.0.6",
    "react-router-native": "^4.2.0",
    "react-router-redux": "^5.0.0-alpha.8",
    "redux": "^3.7.2",
    "redux-axios-middleware": "^4.0.0",
    "redux-thunk": "^2.2.0"
  }
}

.babelrc

{
  "presets": ["babel-preset-expo"],
  "env": {
    "development": {
      "plugins": ["transform-react-jsx-source"]
    }
  }
}
#2

we resolved this on slack, here is a working example https://github.com/brentvatne/jest-expo-extend-transform-ignore-patterns-example