Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
atoami committed Feb 21, 2019
1 parent ce1f886 commit b2020a3
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 9 deletions.
8 changes: 0 additions & 8 deletions .babelrc

This file was deleted.

1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
./**/__tests__/**/*.js
__mocks__/**/*.js
jest-setup.js
babel.config.js
11 changes: 11 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
'use strict';

module.exports = {
presets: ["module:metro-react-native-babel-preset"],
plugins: [
"@babel/plugin-transform-modules-commonjs",
["@babel/plugin-proposal-decorators", { "legacy": true }],
"@babel/plugin-syntax-export-namespace-from",
"transform-export-extensions"
],
};
2 changes: 1 addition & 1 deletion src/screens/WelcomeScreen/__tests__/WelcomeScreen.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ describe('WelcomeScreen', () => {
);
expect(component).toMatchSnapshot();
});
});
});

0 comments on commit b2020a3

Please sign in to comment.