Skip to content

Commit

Permalink
Merge pull request #2 from mikestaub/master
Browse files Browse the repository at this point in the history
fix tests
  • Loading branch information
seanhouli authored and Sean Houlihan committed Jun 26, 2019
2 parents 463b654 + bfcad0a commit e24ec01
Show file tree
Hide file tree
Showing 4 changed files with 5,231 additions and 1,849 deletions.
21 changes: 14 additions & 7 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
const isTest = process.env.NODE_ENV === "test";

console.log("test", isTest);

module.exports = {
presets: ["es2015", "stage-0", "react"],

plugins: isTest ? ["babel-plugin-rewire"] : []
presets: [
[
'@babel/preset-env',
{
targets: {
node: 'current',
},
},
],
'@babel/preset-react'
],
plugins: ['@babel/plugin-proposal-class-properties', 'babel-plugin-rewire']
};


5 changes: 0 additions & 5 deletions jest.config.js

This file was deleted.

Loading

0 comments on commit e24ec01

Please sign in to comment.