diff --git a/jest/preprocessor.js b/jest/preprocessor.js index b9ae6faf2..6c71b795e 100644 --- a/jest/preprocessor.js +++ b/jest/preprocessor.js @@ -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 + }, ).code; }