Skip to content

Commit 9a9396f

Browse files
committed
Fix tests
1 parent be80e0b commit 9a9396f

File tree

5 files changed

+9
-8
lines changed

5 files changed

+9
-8
lines changed

components/input/Input.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,6 @@ const factory = (FontIcon) => {
225225
};
226226

227227
const Input = factory(InjectedFontIcon);
228-
export default themr(INPUT, null, { withRef: true })(Input);
228+
export default themr(INPUT)(Input);
229229
export { factory as inputFactory };
230230
export { Input };

gulpfile.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ const postcss = require('gulp-postcss');
66
gulp.task('js', function () {
77
return gulp.src([
88
'./components/**/*.js',
9-
'!./components/**/__test__/*.js',
9+
'!./components/**/*.spec.js',
10+
'!./components/**/__test__',
1011
'!./components/__mocks__/**/*.js'
1112
])
1213
.pipe(babel())
File renamed without changes.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
"react-transform-hmr": "^1.0.4",
8888
"redbox-react": "^1.3.6",
8989
"rimraf": "^2.6.1",
90-
"style-loader": "^0.18.0",
90+
"style-loader": "^0.18.1",
9191
"stylelint": "^7.10.1",
9292
"stylelint-config-standard": "^16.0.0",
9393
"stylelint-order": "^0.4.4",
@@ -125,10 +125,10 @@
125125
"(\\.css$)|(normalize.css/normalize)|(^exports-loader)": "identity-obj-proxy"
126126
},
127127
"modulePaths": [
128-
"<rootDir>"
128+
"<rootDir>/components"
129129
],
130130
"setupFiles": [
131-
"./jest.config.js"
131+
"./jest.setup.js"
132132
],
133133
"snapshotSerializers": [
134134
"enzyme-to-json/serializer"

yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6656,9 +6656,9 @@ strip-json-comments@~2.0.1:
66566656
version "2.0.1"
66576657
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a"
66586658

6659-
style-loader@^0.18.0:
6660-
version "0.18.0"
6661-
resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-0.18.%3Cspan%20class="x x-first x-last">0.tgz#5b7a895860bda966286c8bb80ffd4ccbaf0411f5"
6659+
style-loader@^0.18.1:
6660+
version "0.18.1"
6661+
resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-0.18.%3Cspan%20class="x x-first x-last">1.tgz#6afca8953c842830e5e2dc84796309880a97f7e8"
66626662
dependencies:
66636663
loader-utils "^1.0.2"
66646664
schema-utils "^0.3.0"

0 commit comments

Comments
 (0)