From 1d1b6333179ce64e5d5ec07f604deec12db6cada Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Sun, 20 Sep 2015 16:03:56 -0700 Subject: [PATCH] npm-script: fix 'test' --- package.json | 2 +- src/components/TextInput/index.spec.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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"', () => {