const babel = require('babel-core')

const transformCfg = require('./babel-config')

module.exports = {
  process: function (src) {
    transformCfg.retainLines = true
    return babel.transform(src, transformCfg).code
  }
}

@@ -36,25 +36,21 @@
 %0A%0Aconst 
-transform
+babel
 Cfg = re
@@ -72,16 +72,86 @@
 config')
+%0Aconst transformCfg = babelCfg('test')%0AtransformCfg.retainLines = true
 %0A%0Amodule
@@ -195,44 +195,8 @@
 ) %7B%0A
-    transformCfg.retainLines = true%0A
     

Update jest-preprocessor with updated babel config