Skip to content

Commit

Permalink
Revert "Revert removing babelTransform.js (timarney#350)"
Browse files Browse the repository at this point in the history
This reverts commit 2383e07.
  • Loading branch information
mjgallag committed Jun 9, 2021
1 parent b7b4bea commit a275e99
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 33 deletions.
27 changes: 0 additions & 27 deletions scripts/utils/babelTransform.js

This file was deleted.

6 changes: 0 additions & 6 deletions scripts/utils/rewireJestConfig.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
'use strict';

const path = require('path');
const paths = require('./paths');

module.exports = (config) => {
Object.keys(config.transform).forEach((key) => {
if (config.transform[key].endsWith('babelTransform.js')) {
config.transform[key] = path.resolve(__dirname + '/babelTransform.js');
}
});
const overrides = Object.assign({}, require(paths.appPackageJson).jest);

// Jest configuration in package.json will be added to the the default config
Expand Down

0 comments on commit a275e99

Please sign in to comment.