npm-script: fix 'test'

This commit is contained in:
Nicolas Gallagher
2015-09-20 16:03:56 -07:00
parent 565ec2fee8
commit 1d1b633317
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -13,7 +13,7 @@
"prepublish": "NODE_ENV=publish npm run build", "prepublish": "NODE_ENV=publish npm run build",
"test:specs": "NODE_ENV=test karma start config/karma.config.js", "test:specs": "NODE_ENV=test karma start config/karma.config.js",
"test:specs:watch": "npm run test:specs -- --no-single-run", "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": { "dependencies": {
"react": ">=0.13.3", "react": ">=0.13.3",
+2 -2
View File
@@ -102,8 +102,8 @@ suite('TextInput', () => {
) )
const height = dom.getBoundingClientRect().height const height = dom.getBoundingClientRect().height
// need a range because of cross-browser differences // need a range because of cross-browser differences
assert.ok(height >= 60) assert.ok(height >= 60, height)
assert.ok(height <= 65) assert.ok(height <= 66, height)
}) })
test('prop "multiline"', () => { test('prop "multiline"', () => {