diff --git a/package.json b/package.json index 22fb2227..10241990 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "prepublish": "NODE_ENV=publish npm run build", "test:specs": "NODE_ENV=test karma start config/karma.config.js", "test:specs:watch": "npm run test:specs -- --no-single-run", - "test": "npm run specs && npm run lint" + "test": "npm run test:specs && npm run lint" }, "dependencies": { "react": ">=0.13.3", diff --git a/src/components/TextInput/index.spec.js b/src/components/TextInput/index.spec.js index 1325adf0..4dfdbf49 100644 --- a/src/components/TextInput/index.spec.js +++ b/src/components/TextInput/index.spec.js @@ -102,8 +102,8 @@ suite('TextInput', () => { ) const height = dom.getBoundingClientRect().height // need a range because of cross-browser differences - assert.ok(height >= 60) - assert.ok(height <= 65) + assert.ok(height >= 60, height) + assert.ok(height <= 66, height) }) test('prop "multiline"', () => {