Merge pull request #3977 from spicyj/jest-lines

Retain lines in babel under jest
This commit is contained in:
Ben Alpert
2015-05-28 16:10:28 -07:00
+2 -1
View File
@@ -23,7 +23,8 @@ module.exports = {
if (!path.match(/\/node_modules\//) && !path.match(/\/third_party\//)) {
return babel.transform(src, {
blacklist: ['spec.functionName', 'validation.react'],
filename: path
filename: path,
retainLines: true
}).code;
}
return src;