Fix tests
parent
be80e0bb85
commit
9a9396fa0b
|
@ -225,6 +225,6 @@ const factory = (FontIcon) => {
|
||||||
};
|
};
|
||||||
|
|
||||||
const Input = factory(InjectedFontIcon);
|
const Input = factory(InjectedFontIcon);
|
||||||
export default themr(INPUT, null, { withRef: true })(Input);
|
export default themr(INPUT)(Input);
|
||||||
export { factory as inputFactory };
|
export { factory as inputFactory };
|
||||||
export { Input };
|
export { Input };
|
||||||
|
|
|
@ -6,7 +6,8 @@ const postcss = require('gulp-postcss');
|
||||||
gulp.task('js', function () {
|
gulp.task('js', function () {
|
||||||
return gulp.src([
|
return gulp.src([
|
||||||
'./components/**/*.js',
|
'./components/**/*.js',
|
||||||
'!./components/**/__test__/*.js',
|
'!./components/**/*.spec.js',
|
||||||
|
'!./components/**/__test__',
|
||||||
'!./components/__mocks__/**/*.js'
|
'!./components/__mocks__/**/*.js'
|
||||||
])
|
])
|
||||||
.pipe(babel())
|
.pipe(babel())
|
||||||
|
|
|
@ -87,7 +87,7 @@
|
||||||
"react-transform-hmr": "^1.0.4",
|
"react-transform-hmr": "^1.0.4",
|
||||||
"redbox-react": "^1.3.6",
|
"redbox-react": "^1.3.6",
|
||||||
"rimraf": "^2.6.1",
|
"rimraf": "^2.6.1",
|
||||||
"style-loader": "^0.18.0",
|
"style-loader": "^0.18.1",
|
||||||
"stylelint": "^7.10.1",
|
"stylelint": "^7.10.1",
|
||||||
"stylelint-config-standard": "^16.0.0",
|
"stylelint-config-standard": "^16.0.0",
|
||||||
"stylelint-order": "^0.4.4",
|
"stylelint-order": "^0.4.4",
|
||||||
|
@ -125,10 +125,10 @@
|
||||||
"(\\.css$)|(normalize.css/normalize)|(^exports-loader)": "identity-obj-proxy"
|
"(\\.css$)|(normalize.css/normalize)|(^exports-loader)": "identity-obj-proxy"
|
||||||
},
|
},
|
||||||
"modulePaths": [
|
"modulePaths": [
|
||||||
"<rootDir>"
|
"<rootDir>/components"
|
||||||
],
|
],
|
||||||
"setupFiles": [
|
"setupFiles": [
|
||||||
"./jest.config.js"
|
"./jest.setup.js"
|
||||||
],
|
],
|
||||||
"snapshotSerializers": [
|
"snapshotSerializers": [
|
||||||
"enzyme-to-json/serializer"
|
"enzyme-to-json/serializer"
|
||||||
|
|
|
@ -6656,9 +6656,9 @@ strip-json-comments@~2.0.1:
|
||||||
version "2.0.1"
|
version "2.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a"
|
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a"
|
||||||
|
|
||||||
style-loader@^0.18.0:
|
style-loader@^0.18.1:
|
||||||
version "0.18.0"
|
version "0.18.1"
|
||||||
resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-0.18.0.tgz#5b7a895860bda966286c8bb80ffd4ccbaf0411f5"
|
resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-0.18.1.tgz#6afca8953c842830e5e2dc84796309880a97f7e8"
|
||||||
dependencies:
|
dependencies:
|
||||||
loader-utils "^1.0.2"
|
loader-utils "^1.0.2"
|
||||||
schema-utils "^0.3.0"
|
schema-utils "^0.3.0"
|
||||||
|
|
Loading…
Reference in New Issue