Skip to content

Commit

Permalink
Add tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonesy committed Sep 24, 2018
1 parent 7ba916b commit dc4c51b
Show file tree
Hide file tree
Showing 3 changed files with 1,412 additions and 59 deletions.
4 changes: 3 additions & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"scripts": {
"start": "NODE_ENV=development nodemon server/index.js",
"start:prod": "NODE_ENV=production node server/index.js",
"build": "webpack --config webpack.prod.js"
"build": "webpack --config webpack.prod.js",
"test": "jest"
},
"devDependencies": {
"@babel/cli": "^7.0.0",
Expand All @@ -19,6 +20,7 @@
"clean-webpack-plugin": "^0.1.19",
"css-loader": "^1.0.0",
"html-webpack-plugin": "^3.2.0",
"jest": "^23.6.0",
"mini-css-extract-plugin": "^0.4.2",
"nodemon": "^1.18.4",
"style-loader": "^0.23.0",
Expand Down
5 changes: 5 additions & 0 deletions frontend/src/components/app/__tests__/app.test.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
describe('<App/>', () => {
it('should test things', () => {
expect(1 + 1).toEqual(2);
});
});
Loading

0 comments on commit dc4c51b

Please sign in to comment.