Skip to content

Commit 1081560

Browse files
hramosfacebook-github-bot
authored andcommitted
Add missing trailing comma
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
1 parent f805d35 commit 1081560

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

jest/preprocessor.js

+6-9
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,12 @@ module.exports = {
3939
process(src /*: string */, file /*: string */) {
4040
if (nodeFiles.test(file)) {
4141
// node specific transforms only
42-
return babelTransformSync(
43-
src,
44-
{
45-
filename: file,
46-
sourceType: 'script',
47-
...nodeOptions,
48-
ast: false
49-
},
50-
).code;
42+
return babelTransformSync(src, {
43+
filename: file,
44+
sourceType: 'script',
45+
...nodeOptions,
46+
ast: false,
47+
}).code;
5148
}
5249

5350
const {ast} = transformer.transform({

0 commit comments

Comments
 (0)