Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
javivelasco committed May 24, 2017
1 parent be80e0b commit 9a9396f
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion components/input/Input.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,6 @@ const factory = (FontIcon) => {
};

const Input = factory(InjectedFontIcon);
export default themr(INPUT, null, { withRef: true })(Input);
export default themr(INPUT)(Input);
export { factory as inputFactory };
export { Input };
3 changes: 2 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ const postcss = require('gulp-postcss');
gulp.task('js', function () {
return gulp.src([
'./components/**/*.js',
'!./components/**/__test__/*.js',
'!./components/**/*.spec.js',
'!./components/**/__test__',
'!./components/__mocks__/**/*.js'
])
.pipe(babel())
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"react-transform-hmr": "^1.0.4",
"redbox-react": "^1.3.6",
"rimraf": "^2.6.1",
"style-loader": "^0.18.0",
"style-loader": "^0.18.1",
"stylelint": "^7.10.1",
"stylelint-config-standard": "^16.0.0",
"stylelint-order": "^0.4.4",
Expand Down Expand Up @@ -125,10 +125,10 @@
"(\\.css$)|(normalize.css/normalize)|(^exports-loader)": "identity-obj-proxy"
},
"modulePaths": [
"<rootDir>"
"<rootDir>/components"
],
"setupFiles": [
"./jest.config.js"
"./jest.setup.js"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6656,9 +6656,9 @@ strip-json-comments@~2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a"

style-loader@^0.18.0:
version "0.18.0"
resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-0.18.0.tgz#5b7a895860bda966286c8bb80ffd4ccbaf0411f5"
style-loader@^0.18.1:
version "0.18.1"
resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-0.18.1.tgz#6afca8953c842830e5e2dc84796309880a97f7e8"
dependencies:
loader-utils "^1.0.2"
schema-utils "^0.3.0"
Expand Down

0 comments on commit 9a9396f

Please sign in to comment.