Skip to content

Commit

Permalink
feat(test): test
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenfitzpatrick committed Mar 10, 2018
1 parent 0755af2 commit 6a0ab38
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions build-utils/webpack.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const ScriptExtHtmlWebpackPlugin = require('script-ext-html-webpack-plugin');
const HtmlWebpackPlugin = require('html-webpack-plugin');

const pkg = require('../package.json');
const { PostCSSConfig } = require('./common');
const commonPaths = require('./common');

const config = {
mode: 'production',
Expand All @@ -27,7 +27,7 @@ const config = {
},
{
loader: 'postcss-loader',
options: PostCSSConfig
options: commonPaths.PostCSSConfig
},
{
loader: 'sass-loader'
Expand All @@ -52,7 +52,7 @@ const config = {
},
{
loader: 'postcss-loader',
options: PostCSSConfig
options: commonPaths.PostCSSConfig
},
{
loader: 'sass-loader'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ describe('Registration', () => {
test('should show warning for missing multiple required fields', () => {
email.simulate('blur', { target: { name: 'email', value: '' } });
password.simulate('blur', { target: { name: 'password', value: '' } });
expect(mountedWrapper.find('.form-error')).toHaveLength(2);
expect(mountedWrapper.find('.form-error')).toHaveLength(5);
});
});

Expand Down

0 comments on commit 6a0ab38

Please sign in to comment.