Permalink
Browse files

- Invalid use of destructuring

Summary: Pull Request resolved: #20178

Differential Revision: D8860733

Pulled By: TheSavior

fbshipit-source-id: ec4aa3050755652106dec9ea245394314c862e97
  • Loading branch information...
umairda authored and facebook-github-bot committed Jul 16, 2018
1 parent e9e20e6 commit 9d5bd507372c7b63e59a94383c3e3091d96409de
Showing with 6 additions and 4 deletions.
  1. +6 −4 jest/preprocessor.js
View
@@ -41,10 +41,12 @@ module.exports = {
// node specific transforms only
return babelTransformSync(
src,
Object.assign(
{filename: file},
{sourceType: 'script', ...nodeOptions, ast: false},
),
{
filename: file,
sourceType: 'script',
...nodeOptions,
ast: false

This comment has been minimized.

Show comment
Hide comment
@LinusU

LinusU Aug 1, 2018

Contributor

Missing a trailing comma here, this is causing CI for #20366 to fail...

@LinusU

LinusU Aug 1, 2018

Contributor

Missing a trailing comma here, this is causing CI for #20366 to fail...

This comment has been minimized.

Show comment
Hide comment
@hramos

hramos Aug 9, 2018

Contributor

Thanks, I'm sending a patch for this

@hramos

hramos Aug 9, 2018

Contributor

Thanks, I'm sending a patch for this

},
).code;
}

0 comments on commit 9d5bd50

Please sign in to comment.