Skip to content

Commit

Permalink
Setup initial test platform
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed Nov 18, 2017
1 parent 6a88cfc commit f0ef525
Show file tree
Hide file tree
Showing 7 changed files with 2,525 additions and 128 deletions.
3 changes: 2 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"extends": "airbnb",
"env": {
"browser": true,
"es6": true
"es6": true,
"jest": true
},
"globals": {
"PDFJS": true
Expand Down
1 change: 1 addition & 0 deletions __mocks__/styleMock.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = {};
5 changes: 5 additions & 0 deletions enzyme.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/* eslint-disable import/no-extraneous-dependencies */
const { configure } = require('enzyme');
const Adapter = require('enzyme-adapter-react-16');

configure({ adapter: new Adapter() });
Loading

0 comments on commit f0ef525

Please sign in to comment.