Skip to content

Commit

Permalink
Add missing trailing comma
Browse files Browse the repository at this point in the history
Summary: Adds missing comma, following up on #20178. Thanks to LinusU for pointing out the error.

Reviewed By: TheSavior

Differential Revision: D9242887

fbshipit-source-id: 4b547396722d0e37dc5c8eb3439b9a441c3c0ac2
  • Loading branch information
hramos authored and facebook-github-bot committed Aug 13, 2018
1 parent f805d35 commit 1081560
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions jest/preprocessor.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,12 @@ module.exports = {
process(src /*: string */, file /*: string */) {
if (nodeFiles.test(file)) {
// node specific transforms only
return babelTransformSync(
src,
{
filename: file,
sourceType: 'script',
...nodeOptions,
ast: false
},
).code;
return babelTransformSync(src, {
filename: file,
sourceType: 'script',
...nodeOptions,
ast: false,
}).code;
}

const {ast} = transformer.transform({
Expand Down

0 comments on commit 1081560

Please sign in to comment.