diff --git a/package.json b/package.json index b0ca8a87423d22..12953f086811df 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "build:babel": "NODE_ENV=release babel ./src --ignore *.spec.js --out-dir ./build", "build:copy-files": "babel-node ./scripts/copy-files.js", "clean:build": "rimraf build", - "lint": "eslint src docs/src test/integration && echo \"eslint: no lint errors\"", + "lint": "eslint src docs/src test --quiet && echo \"eslint: no lint errors\"", "lint:find-rules": "eslint-find-rules -u .eslintrc.js", "prebuild": "npm run clean:build", "test": "cross-env NODE_ENV=test babel-node test/index.js", diff --git a/src/Stepper/StepContent.spec.js b/src/Stepper/StepContent.spec.js index efd35feed8f9d7..c52515b55e8720 100644 --- a/src/Stepper/StepContent.spec.js +++ b/src/Stepper/StepContent.spec.js @@ -24,13 +24,6 @@ describe('', () => { assert.ok(wrapper.is('div')); }); - it('renders null when used in a horizontal stepper', () => { - const wrapper = shallowWithContext( - - , {stepper: {orientation: 'horizontal'}}); - assert.strictEqual(wrapper.node, null); - }); - it('merges styles and other props into the root node', () => { const wrapper = shallowWithContext( ', () => { assert.strictEqual(value, 'woof', 'should pass the value as the 2nd arg'); done(); }} + id="unique" /> ); @@ -63,10 +64,10 @@ describe('', () => { assert.strictEqual(wrapper.find(TextFieldLabel).props().shrink, false, 'should not shrink TextFieldLabel'); }); - describe('props: children', () => { + describe('prop: children', () => { it('should forward any property to the root', () => { const wrapper = shallowWithContext( - +
); @@ -88,7 +89,7 @@ describe('', () => { values.forEach((value) => { const wrapper = shallowWithContext( - + ); assert.strictEqual(wrapper.state().hasValue, false, @@ -105,7 +106,7 @@ describe('', () => { values.forEach((value) => { const wrapper = shallowWithContext( - + ); assert.strictEqual(wrapper.state().hasValue, true, diff --git a/test/index.js b/test/index.js index e9a68e62bc96b1..36a164b63625d2 100644 --- a/test/index.js +++ b/test/index.js @@ -27,6 +27,7 @@ if (types.indexOf('unit') + types.indexOf('integration') === -2) { const mocha = new Mocha({ grep: argv.grep ? argv.grep : undefined, + reporter: 'dot', }); Glob( diff --git a/test/karma.conf.js b/test/karma.conf.js index bc082cf3f92d7d..a0a9da7fefd768 100644 --- a/test/karma.conf.js +++ b/test/karma.conf.js @@ -90,6 +90,6 @@ module.exports = function(config) { }, webpackServer: { noInfo: true, - } + }, }); };