Skip to content

Commit

Permalink
Fix transpilation of @elg/speedscope in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
taneliang committed Jul 29, 2020
1 parent b9f310c commit 7f1dc04
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .babelrc

This file was deleted.

5 changes: 5 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
presets: [
['react-app', {absoluteRuntime: false, flow: true, typescript: false}],
],
};
4 changes: 4 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@ module.exports = {
moduleNameMapper: {
'\\.css$': 'identity-obj-proxy',
},
transformIgnorePatterns: [
// Pass @elg/speedscope through transforms
'/node_modules/(?!@elg/speedscope).+\\.js$',
],
};

0 comments on commit 7f1dc04

Please sign in to comment.